Re: CPropertySheet/Page

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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




.



Relevant Pages

  • Re: Extremely slow debugging performance in VS2003 with interop
    ... in the debugger now executes CreateInstance in 12 secs instead of 45. ... However, the second time I run the app, I'm back ... to 45 seconds every first time I run the app in the debugger. ... Here is the 12 second output: ...
    (microsoft.public.vsnet.debugging)
  • Re: Extremely slow debugging performance in VS2003 with interop
    ... > rename the file to symsrv.dll.hide, start VS and the initial run of the app ... > in the debugger now executes CreateInstance in 12 secs instead of 45. ... > to 45 seconds every first time I run the app in the debugger. ... > Here is the 12 second output: ...
    (microsoft.public.vsnet.debugging)
  • Re: SqlceException.SqlceException
    ... First of all, i found the cause of the exception and corrected it, it was ... > same challenge in terms of deploying the initial SQL CE database. ... > db along with your app. ... it is the first time i am doing mobile applications and the first ...
    (microsoft.public.sqlserver.ce)
  • Re: .exe version vs. Make version
    ... Why would they not provide for all 4 components on the Make tab? ... > The version info is actually an app RESource. ... > compiled exe afterward as the only option. ...
    (microsoft.public.vb.general.discussion)
  • Re: IIF Statements
    ... the switch. ... with my Form and subforms and the tab key. ... If it goes correctly the first time, what could cause it to not the second ... Filling out the date field "Date Written Report ...
    (microsoft.public.access.formscoding)