![]() |
combo box |
Post Reply
|
| Author | |
shahaf
Newbie
Joined: 23 November 2004 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: combo boxPosted: 23 November 2004 at 9:14am |
|
I would like to use a combo box with icons and indentation in a dialog. I have tried to use CXTComboBoxEx according to the example in the CommonControls project, and it just does not work.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 November 2004 at 12:25am |
|
Maybe you forgot to add ON_XTP_CREATECONTROL() macros? For Dialog Sample add: ON_XTP_CREATECONTROL() to message map, int CDialogSampleDlg::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl) m_wndComboBox.InsertItem(&cbItem);
lpCreateControl->pControl = pControl;
declaration: CComboBoxEx m_wndComboBox; |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |