winapi - WS_OVERLAPPEDWINDOW and WM_SYSKEYDOWN -


setwindowlong(hwnd, gwl_style, ws_overlappedwindow); 

if add line above, program receive every second press of alt key. catch alt key wm_syskeydown event. must mention though, wm_syskeyup still detects every release of alt key.

so when repeatedly press alt key log looks this:

down up down up

any idea why that, , how fix problem still retain normal application window look? (that why overlapped window flag used).

update: found ws_sysmenu causes same problem, must related sys menu hotkeys.


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -