Print Page | Close Window

Runtime CXTButton

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=11971
Printed Date: 15 September 2025 at 1:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Runtime CXTButton
Posted By: crystyce
Subject: Runtime CXTButton
Date Posted: 26 August 2008 at 8:37am

     I cannot create a runtime CheckBox control:

CXTButton* pControl = new CXTButton;
                       
 pControl->Create(_T(""), WS_CHILD|WS_VISIBLE|BS_AUTOCHECKBOX|WS_TABSTOP|BS_NOTIFY,
                        CRect(....), this,999);


Then instead of a checkbox I get a normal button (still different from other buttons because the theme isn't applied)



Replies:
Posted By: Oleg
Date Posted: 26 August 2008 at 11:43am
Hi,
 
CXTButton doesn't support BS_AUTOCHECKBOX. if you have 12.x release try CXTPButton.


-------------
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