![]() |
ComboBox control in Toolbar |
Post Reply
|
| Author | |
Ashok
Senior Member
Joined: 02 May 2007 Status: Offline Points: 164 |
Post Options
Thanks(0)
Quote Reply
Topic: ComboBox control in ToolbarPosted: 03 May 2007 at 1:20am |
|
Hai,
I have a class which is derived from CComboBoxEx which is used to place the combobox control in the Toolbar, but I saw your samples which is stating that CXTPControlComboBox is used for placing the combobox in the Toolbar. When I am deriving my class from CXTPControlComboBox instead of CComboBoxEx gives plenty of errors like EnableWindow is undefined. Any solutions? Thanks.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 May 2007 at 5:25am |
|
Hi,
use pControl->SetEnabled instead, but better use update handlers and disable/enable controls using standard pCmdUI->Enable(FALSE/TRUE);
|
|
|
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 |