Re: CProperty***/Page



Well I don't know QuerySiblings.

The OnInitDialog is called when your app starts and creates the prop pages
the first time. Whenever the user selects a tab, the event is OnSetActive.
This function is always called when set active, OnInitDialog for each prop
page only when it's created.

HTH



"Bob" <bsagusti@xxxxxxxxxxx> schrieb im Newsbeitrag
news:eFhZ$auHHHA.4068@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I am creating a dialog app but the info that I must handle requires more
space than just one dialog. I decided to go with a property ***, that
way
I can convey data to the user in a non-cluttered, orderly fashion. The
first
prop page gets data from a socket and elements of that data is to be
displayed on all the pages. I'm using QuerySiblings() to notify the other
pages and pass a pointer to the data.

My problem is that unless the user clicks the tabs to cause InitDialog()
to
be called on the other property pages, the PSM_QUERYSIBLINGS message is
not
sent to those pages. I need the data to be in the controls of those
property
pages when the user clicks on them the first time.

Is there a way to cause InitDialog() to get called? i.e. some way to cause
a
WM_NOTIFY?

Am I going about this wrong?

Thanks a lot.

Bob




.


Loading