|
ALT + key in windowed mode |
spellcaster
Member #1,493
September 2001
|
I have a problem on windowsXP with allegro 4.1.8 running windowed. Pressing ALT together with any other key reults in the "keybuffer full" beep. It also seems to have other effects as well, since switching from fullscreen into windowed mode while holding the ALT+any-other-key pressed results in very strange behavior. EDIT: -- |
Evert
Member #794
November 2000
|
Can you check if this is a problem that has been introduced recently, ie, if it happens too with a slightly older version of Allegro? |
spellcaster
Member #1,493
September 2001
|
I'll check that after TINS. set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); rest(1000); before I set the new mode, it seems to work. The windows switch at least. The problem with the buffer-full sound in windowed mode seems to be a different thing. I guess it's because ALT is a magic key or something. -- |
A J
Member #3,025
December 2002
|
confirmed. ___________________________ |
X-G
Member #856
December 2000
|
I do not see that behaviour, using 4.1.17 on Windows XP. -- |
A J
Member #3,025
December 2002
|
spy++ shows: WM_MENUCHAR (fAction=0) discard character and beep. along with about 10 other menu related messages. it looks like, if the menu does not handle the ALT key, the system issues a beep. i tried /allegro4.1.16/tests/test.exe in windowed mode and it happens. i was unable to test 4.1.17 i hacked /allegro4.1.18/src/win/wnd.c create_directx_window() does anyone know why WS_SYSMENU was ever included ? (edit) i posted a solution on [AD] mail list. ___________________________ |
Gideon Weems
Member #3,925
October 2003
|
A J
Member #3,025
December 2002
|
its a team effort. ___________________________ |
Gideon Weems
Member #3,925
October 2003
|
|