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 -

What is the difference between data design and data model(ERD) -

ios - Can NSManagedObject conform to NSCoding -