Smartphone application interface, ListBox and TreeView controls cannot accept the Action Button message

zhaozj2021-02-16  62

Requires HOOK's window process functions!

LRESULT CALLBACK pNewListBoxProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {switch (uMsg) {case WM_GETDLGCODE: return DLGC_WANTMESSAGE; ??? case WM_KEYDOWN: switch (wParam) {?????? case 13: // Action Button Response? Break;} Break;} Return CallWindowProc (PoldlistBoxProc, HWND, UMSG, WPARAM, LPARAM);

转载请注明原文地址:https://www.9cbs.com/read-15329.html

New Post(0)