04-06-2016, 11:14 PM
Is there a "quick and dirty" way to select a row on ENTER or SPACE?
Something like this (?):
I can't get the code above working properly, I can trigger code when other keys are pressed (A, B, C, ... SHIFT, CONTROL....) but not SPACE or ENTER.
I can imagine this functionality takes to much time to code, in that case please ignore it.
But if there is a quick and dirty workaround I would really appreciate it!
Something like this (?):
...
case LVN_KEYDOWN
NMLVKEYDOWN* nk=+nh
sel(nk.wVKey)
case VK_SPACE
int x=id(17 hDlg)
;; SendMessage x NM_CLICK .... ?
...
I can't get the code above working properly, I can trigger code when other keys are pressed (A, B, C, ... SHIFT, CONTROL....) but not SPACE or ENTER.
I can imagine this functionality takes to much time to code, in that case please ignore it.
But if there is a quick and dirty workaround I would really appreciate it!