Common Controls: Window Styles

I am struggling to find a clear list of what classes/window styles I should use to make a basic control of each of the following types?

This is what I have so far.

TYPE: Button
CLASS: BUTTON
WS: WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON

TYPE: TextBox
CLASS: EDIT
WS: WS_CHILD | WS_VISIBLE | WS_BORDER | ES_MULTILINE | ES_AUTOHSCROLL | ES_AUTOVSCROLL

TYPE: Label
CLASS: STATIC
WS: WS_CHILD | WS_VISIBLE | SS_SIMPLE

TYPE: RadioButton
CLASS: BUTTON
WS: WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON

TYPE: CheckBox
CLASS: BUTTON
WS: WS_CHILD | WS_VISIBLE | BS_AUTOCHECKBOX

TYPE: ListBox
CLASS: LISTBOX
WS: WS_CHILD | WS_VISIBLE | ???

TYPE: ComboBox
CLASS: COMBOBOX
WS: WS_CHILD | WS_VISIBLE | ???

It would be really useful if someone could fill in any of the blanks / improve on what I already have?

Also, how do I get the controls to tab between each other?
Go here:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb773169%28v=vs.85%29.aspx

Select a control and scroll all the way down to Constants for a list of window styles for that control. Usually you find the window class in the "Using ..." or "About ..." section.
Last edited on
Topic archived. No new replies allowed.