winapi - C++ Win32API WM_KEYDOWN and buttons -


i'm having problem receiving message in wm_keydown. wm_keydown works fine until click button in app. point no longer receives input keyboard. how fix it?

if using win32 controls such createwindowex(null, l"button", ... expected each control child window , capturing of window messages after has focus.

once button clicked can capture wm_command - bm_click message call setfocus(hwnd) refocus on window (as giswin mentioned).


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -