Print Page | Close Window

CXTPPropertyPage Problem with Customize Dlg.

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=9982
Printed Date: 14 November 2025 at 8:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertyPage Problem with Customize Dlg.
Posted By: hikaroute
Subject: CXTPPropertyPage Problem with Customize Dlg.
Date Posted: 27 March 2008 at 11:33pm
I created the customize dialog by default.  And I created the new custom page with CPropertyPage and added inside, it works but didn't support OnCreateControl function because I need some button as the dropdown button.
 
Then I replaced it with CXTPPropertyPage class, and try to test the dialog before do anything next.  But the app crash when I click the tab made from CXTPPropertyPate.
I debug my app, it break in the CXTPPropertySheet::GetPageBorderStyle() function.  I don't know why.  Because I created it follow the PropertySheep Project (CTabSamplePage class)
 
Thank you for helping me.



Replies:
Posted By: Oleg
Date Posted: 28 March 2008 at 6:47am
Hi,
CXTPPropertyPage is designed to work with CXTPPropertySheet only.
Don't use it.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: hikaroute
Date Posted: 28 March 2008 at 6:52am
Hi,
   I see.  Then I must use CPropertyPage only.
But If I need to change some buttons in the PropertyPage or Dialog to be the dropdown button or splitbuttonpopup, how can I do?
 
Thank you again.


Posted By: hikaroute
Date Posted: 29 March 2008 at 2:45am
Or anyone else,
  Can I use the OnCreateControl() function to change the standard button to be the dropdown button or split button popup by using CPropertyPage class?
 


Posted By: hikaroute
Date Posted: 30 March 2008 at 9:43am

oleg,

please give me the sample how to change the button type in the CPropertyPage.



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