Call this member function to add a string to a combo box on the command bar, and associate it with a data element. This function adds the string at the end of the list of strings in the combo box's list box.
BOOL AddComboBoxString ( UINT wStringResourceID, long lItemData=0 );
BOOL AddComboBoxString ( LPCTSTR lpszString, long lItemData=0 );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
A non-zero value if the function succeeds. Zero if it fails.
Use the CB_GETITEMDATA message to retrieve the data you pass to this function in the lItemData parameter.
Note This member function of the CFrameWnd class is unique to Windows CE.
CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows