04-25-2006, 01:45 PM
Examples
ListBox control in QM Find dialog
SysListView32 control in QM My Macros dialog
ComboBox control in QM Options dialog (Fonts)
ComboBox controls often are populated only on drop-down event.
ListBox control in QM Find dialog
Acc a=acc("" "LIST" "Find" "ListBox" "" 0x1000)
for a.elem 1 1000000000
,str s=a.Name; err break
,out s
SysListView32 control in QM My Macros dialog
Acc a=acc("" "LIST" "My Macros" "SysListView32" "" 0x1000)
for a.elem 1 1000000000
,str s=a.Name; err break
,out s
ComboBox control in QM Options dialog (Fonts)
int hwnd=child(1003 "" "ComboBox" "Options" 0x5)
int i n=control.CB_GetCount(hwnd)
for i 0 n
,str s
,control.CB_GetItemText(hwnd i s)
,out s
ComboBox controls often are populated only on drop-down event.