From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14514 invoked by alias); 30 Aug 2011 08:32:21 -0000 Received: (qmail 14418 invoked by uid 22791); 30 Aug 2011 08:31:56 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Tue, 30 Aug 2011 08:31:41 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 46E042C00F3; Tue, 30 Aug 2011 10:31:38 +0200 (CEST) Date: Tue, 30 Aug 2011 08:32:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: setup.exe opening page graphic Message-ID: <20110830083138.GA9466@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <4E498B18.3030405@etr-usa.com> <20110816083536.GH25129@calimero.vinschen.de> <4E4AC4C2.5010307@etr-usa.com> <20110817154643.GE27614@calimero.vinschen.de> <4E4D7F19.9000707@etr-usa.com> <20110819153959.GA13266@calimero.vinschen.de> <4E4EE245.1080704@etr-usa.com> <20110820111627.GK13266@calimero.vinschen.de> <4E52A194.10308@etr-usa.com> <20110823141433.GA13527@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110823141433.GA13527@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2011-08/txt/msg00227.txt.bz2 Hi Warren, On Aug 23 16:14, Corinna Vinschen wrote: > On Aug 22 12:36, Warren Young wrote: > > Given that, I'd still prefer that someone decide to take on the > > DirectShow challenge. I don't think it would be much harder than > > getting a GIF animation to show in setup.exe using only the Windows > > API; I think you'd have to embed IE, which is also a COMmy mess. > > Not me, sorry. I found a way to show a .avi file or a AVI resource in > the dialog, it's just a couple of lines of code: > > HWND anim = Animate_Create (GetHWND (), IDC_AVI_CTRL, > WS_BORDER | WS_CHILD, GetModuleHandle (NULL)); > RECT rc; > GetWindowRect (GetDlgItem (GetHWND (), IDC_AVI_BOX), &rc); > POINT pt = { x: rc.left, y: rc.top }; > ScreenToClient (GetHWND (), &pt); > SetWindowPos (anim, 0, pt.x, pt.y, 150, 260, SWP_NOZORDER | SWP_DRAWFRAME); > if (Animate_Open (anim, MAKEINTRESOURCE (IDV_ANIM_AVI))) > { > ShowWindow (anim, SW_SHOW); > Animate_Play (anim, 0, -1, 1); > } > > But there are two problems: > > - For some reason it works fine to run some MSFT-provided AVI, but > Animate_Open fails for the avi file you sent to this list a few > days ago. > > - The AVI resource is twice as big as the rest of setup.exe. > > So I'd still love to see a still with a beveled, less glossy C, if > that's ok with you... did you have a chance to look into that? Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat