Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List Box items
#2
Examples

ListBox control in QM Find dialog
Code:
Copy      Help
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
Code:
Copy      Help
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)
Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)