Re: [AD] Problem with Windows XP + MinGW + alegro (windowed) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> When running allegro windowed mode in window XP. When you attempt to close
> the program via the X in the top right hand corner (normal windows close
> button) , it stops responding.
Do you mean you don't see the message box ?
Could you try the following things ?
- in src/win/wwnd.c, line 328, add the MB_SYSTEMMODAL flag to the list of
flags,
- in src/win/wwnd.c, line 327, change the first argument 'wnd' into
'allegro_wnd',
- in src/win/wwnd.c, line 327, change the first argument 'wnd' into 'NULL'.
Recompile the lib for each proposed fix and test with your modified exhello
for example. Thanks in advance.
---
Eric Botcazou
ebotcazou@xxxxxxxxxx