<< Return to Main Index

< Return to Class Index

CGXStyle::SetChoiceList

CGXStyle& SetChoiceList(const CString& s);

CGXStyle& SetChoiceList(LPCTSTR psz);

CGXStyle& SetChoiceList(const char* psz);

s

Reference to a const CString.

psz

Specifies the choice list string. In UNICODE builds, const char* will be converted to wide characters.

Return Value

Returns the this pointer.

Remarks

Initializes the choice list string.

Several controls such as CGXComboBox, CGXComboBoxWnd, CGXListBox and CGXRadioButton use the choice list for specifying the possible choices. CGXPushbutton uses the choice list string for the text to be displayed in the button.

CGXStyle

Class Overview | Class Members