Re: [AD] odd problem with WindowsXP + allegro

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> After more research, it looks like the program which was generating this
> was trillian pro (which use a non-standard skin), after closing it,
> allegro programs work as expected
>
> Also I noticed that putting an always-on-top program (like winamp) below
> an allegro window (windowed mode) cause the updated parts of winamp (say
> the bar minivisualization or the moving title) to show  in the allegro
> window. (and trying to move the allegro window when this happens produces
> a nice crash)
>
> Probably this could be fixed chaning the z-order of the allegro window?
> top top topmost when it gets the focus probably?

Could you try to set the HWND_TOPMOST bit very early and see if it solves
both problems (fullscreen and windowed) ?

Add

    SetWindowPos(wnd, HWND_TOPMOST, -100, -100, 0, 0, SWP_SHOWWINDOW);

in src/win/wwnd.c:create_directx_window()

--
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/