smartphone应用程序界面,ListBox和TreeView控件不能接受Action button消息的问题

需要Hook这些控件的窗口过程函数!

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 响应 ? break; } break; } return CallWindowProc(pOldListBoxProc, hwnd, uMsg, wParam, lParam); }

你可能感兴趣的:(action,callback,button,hook)