Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPPropertyPage Problem with Customize Dlg.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPPropertyPage Problem with Customize Dlg.

 Post Reply Post Reply
Author
Message
hikaroute View Drop Down
Groupie
Groupie


Joined: 05 September 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote hikaroute Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
hikaroute View Drop Down
Groupie
Groupie


Joined: 05 September 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote hikaroute Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
hikaroute View Drop Down
Groupie
Groupie


Joined: 05 September 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote hikaroute Quote  Post ReplyReply Direct Link To This Post 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?
 
Back to Top
hikaroute View Drop Down
Groupie
Groupie


Joined: 05 September 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote hikaroute Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2008 at 9:43am

oleg,

please give me the sample how to change the button type in the CPropertyPage.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.