Print Page | Close Window

Add page in customize dialog

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1115
Printed Date: 06 March 2025 at 4:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add page in customize dialog
Posted By: yoavo
Subject: Add page in customize dialog
Date Posted: 30 August 2004 at 9:44am

Hi,

I need to add a page to the customize dialog. I did the following:

1. Add a new dialog resource to my application (with id = IDD_MY_PROP_PAGE)

2. Create a new class CMyPropPage which derives from CPropertyPage and from CXTPDialogState (and have enum IDD = IDD_MY_PROP_PAGE).

3. in OnCustomize of the MainFrame I added:

    CMyPropPage mypage(&cs);

    cs.AddPage(&mypage);

I get an Abort in CPropertyPage::PreProcessPageTemplate. in LockResource method I get pTemplate = NULL.

Can someone please help ?

Yoav.

 

 

 

Hi,

I need to add a page to the tab control of the custom




Replies:
Posted By: Oleg
Date Posted: 05 September 2004 at 2:39am

Remove CXTPDialogState. it is for internal use only.



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