Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - PropertySheet AddPage function!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PropertySheet AddPage function!

 Post Reply Post Reply
netman2 View Drop Down

Joined: 19 April 2016
Location: Seoul
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote netman2 Quote  Post ReplyReply Direct Link To This Post Topic: PropertySheet AddPage function!
    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

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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.094 seconds.