Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
grid select row on space or enter (quick and dirty way?)
#1
Is there a "quick and dirty" way to select a row on ENTER or SPACE?

Something like this (?):
Code:
Copy      Help
...
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!
#2
Ned investigation, I'll ignore it.
#3
Ok no problem, had a feeling it would be a time consuming request!


Forum Jump:


Users browsing this thread: 1 Guest(s)