Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

How can I initialize a CPropertyPage without manually clicking on it

$
0
0

I want to implement an application that uses several CpropertyPages.

All of them are declerated in a from CpropertySheet derived class.

In the Method AddControlPages() the CpropertyPage's are added with AddPage(CpropertyPage&).

Now I see, that only the first added CpropertyPage is initialized with OnInitDialog() .

One of the following pages should have the purpuse as a status-page of a dataload process. But I am not able to use e.g. ClistCtrl::Additem() to print something out.

I first must click on the status-page manlually until I am able to AddItems into the ClistCtrl on the status-page

How can I initialize the status-page without clicking on it, manually ?


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>