|
-
April 24th, 1999, 12:51 PM
#1
PropertSheet - detecting tab change
I created a propertysheet application with no real problem. I can't seem to get an on_notify message to let me know when the user has selected a new property page. I am trying the OnSelChange and OnSelChanging messages but apparently I'm doing something wrong.
Need help (other than mental).
Thanks,
Murray
Murray Bilker [email protected]
Philadelphia Locking Systems Corp
-
April 24th, 1999, 02:47 PM
#2
Re: PropertSheet - detecting tab change
You might find it easier to derive your property pages from a common ancestor derived from CPropertyPage which overrides OnSetActive, then have that call the sheet to do what is required. Having the intermediate class is often usefull if you want to do clever stuff with help anyway.
I can't be sure, but didn't think CPropertySheet supported OnSelChange; might just be my memory though.
Cheers,
Roger
-
April 26th, 1999, 10:01 AM
#3
Re: PropertSheet - detecting tab change
I agree with Roger. Create an intermediate class and use that to communicate. An example is included in the MSVC examples for disabling tabs in a property page. This has code to determine if the user has selected a new tab in the list of property pages.
-
April 27th, 1999, 05:32 PM
#4
Re: PropertSheet - detecting tab change
Is your propertysheet application dialog based or SDI based? I'm trying to create a propertysheet application which is SDI based and support automatic resizing of the various property pages. I tried using NSViews, but I'm having a problem programmatically changing the active tab.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|