06-05-2017, 04:23 PM
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.
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.