Modeless Property Sheet

  • Thread starter Thread starter bobnotbob
  • Start date Start date
B

bobnotbob

In Visual C++ .NET:

I am trying to program a modeless CPropertySheet. When I start it up
modal, there are three buttons below the property pages -- OK, CANCEL,
and APPLY.

But when I start it up modeless, those buttons are not there. Why is
this?
 
I am trying to program a modeless CPropertySheet. When I start it up
modal, there are three buttons below the property pages -- OK, CANCEL,
and APPLY.

But when I start it up modeless, those buttons are not there. Why is
this?

It's the default behaviour. I think the buttons are hidden in the
OnInitDialog handler when the sheet is shown modeless.

Have a look at PSS ID Number: 146916 "How To Create a Modeless
CPropertySheet with Standard Buttons".

Dave
 
Back
Top