How can I turn off/on the AutoSort feature of a Listbox?
I've tried any number of Styles but it always seems to stay on.
What I'd really like to do is change styles dynamically like can be done with fonts:
sort of like:
==========================
"Don't be so humble
you are not that great."
Golda Meir (1898-1978)
to a visiting diplomat
==========================
I've tried any number of Styles but it always seems to stay on.
What I'd really like to do is change styles dynamically like can be done with fonts:
Code:
' Macro m_Listbox_Courier Courier_14 'in fonts.inc Control Send hDlg, %LB_01, %WM_SETFONT, hFont, 0 End Macro ' Macro m_Listbox_Comic Comic_16 'in fonts.inc Control Send hDlg, %LB_01, %WM_SETFONT, hFont, 0 End Macro '
Code:
' Macro m_Listbox_Sort_On Stile = %LBS_Standard Control Send hDlg, %LB_01, %WM_Set_Style, Stile, 0 End Macro ' ^^^^^^^^^^ <-- Which one to use? ' ' Macro m_Listbox_Sort_Off Stile = %LBS_??? '<-- Which one to use? Control Send hDlg, %LB_01, %WM_Set_Style, Stile, 0 End Macro ' ^^^^^^^^^^^^ <-- Which ones to use? '
"Don't be so humble
you are not that great."
Golda Meir (1898-1978)
to a visiting diplomat
==========================
Comment