Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browsing - Scrolling Alphabetically in a QM-Grid column
#1
I understand that one can limit the selection in the key column of a QM-Grid structure, by using the "timer" technique, ie statements :

case EN_CHANGE<<16|3
SetTimer hDlg 1 300 0

and

case WM_TIMER
sel wParam
case 1
KillTimer hDlg wParam
SendMessage hsys32 LVM_DELETEALLITEMS 0 0
......

I wonder whether there exists a routine to browse within the key column already sorted alphabetically, by keying the first - and possibly subsequent letters - accordingly. For example if the column is :

apple
cherry
fig
lemon
morello
orange
pear
tree

by typing letter 'l' it scrolls to lemon, etc.

Best regards.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)