Print Page | Close Window

ComboBox control in Toolbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7032
Printed Date: 12 November 2025 at 5:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ComboBox control in Toolbar
Posted By: Ashok
Subject: ComboBox control in Toolbar
Date Posted: 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.



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net