Detecting directional button
Mobile
4
Posts
3
Posters
11
Views
1
Watching
-
Hi, does someone know how can i detect the directional button presses in a Visual C++ Application. Thanks
The direction keys work like the standard keyboard keys
VK_UP
and the others... -
The direction keys work like the standard keyboard keys
VK_UP
and the others... -
Well, if you have a CListCtrl, you can use that function: void CList::OnKeydownList(NMHDR* pNMHDR, LRESULT* pResult) { LV_KEYDOWN* pLVKeyDow = (LV_KEYDOWN*)pNMHDR; // TODO: Add your control notification handler code here if(GetAsyncKeyState(VK_UP)) { ...... } Hope that helps :) Frank _____ easySMS for pocket PC _____ www.Siedler-Net.de/WinCE/easySMS/