Every set of constants based on the prefix. In other words, lets say you want to change the style or behavior of the listbox: Then all constants will start with LB.

Example: LB_FINDSTRING, LB_GETCOUNT etc.
For the style you would add S after LB, so it would be: LBS_SORT, LBS_USETABSTOPS etc.

Here are some control constants prefixes:


LB - ListBox
CB - ComboBox
EM - TextBox, RichTextBox
BM - Button, CheckBox, OptionButton
WM - Window Message
TVM - TreeView
LVM - ListView


If you have MSDN Library installed then you have all the help for these constants.

Regards,

------------------

Serge

Software Developer
[email protected]
[email protected]