setup.exe opening page graphic
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Aug 30 08:32:00 GMT 2011
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
More information about the Cygwin-apps
mailing list