![]() |
CXTPPropertyPage Problem with Customize Dlg. |
Post Reply
|
| Author | |
hikaroute
Groupie
Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPPropertyPage Problem with Customize Dlg.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.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
hikaroute
Groupie
Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
hikaroute
Groupie
Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
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?
|
|
![]() |
|
hikaroute
Groupie
Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 March 2008 at 9:43am |
|
oleg, please give me the sample how to change the button type in the CPropertyPage.
|
|
![]() |
|
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 |