Print Page | Close Window

PropertySheet AddPage function!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=23371
Printed Date: 24 November 2024 at 3:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PropertySheet AddPage function!
Posted By: netman2
Subject: PropertySheet AddPage function!
Date Posted: 24 June 2017 at 4:27am
Hello, I have a question about AddPage function.

Nowadays, I'm implementing search function in the propertysheet.

For example,

If I put some words in edit control, It will look for same words in all property pages.

But, there is a problem. If I use AddPage function, It's not creating window at that time.
I checked comments in XTPPropertySheet.h

Comments:
//     AddPage adds the CPropertyPage object to the CPropertySheet object's list of pages but does
//     not actually create the window for the page. The framework postpones creation of the window for the page until the user selects that page.

So, If I look for all pages, at that time pages are not created.

Can I initialize all pages before user selection??

I will look forward to your support!

Thanks
 



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