-
August 14th, 2002, 03:15 PM
#1
How to disable a tab page
Hi everyone,
I have created a sheet (from CPropertySheet) that has in it 2 tab pages (from CPropertyPage), namely, m_tab1 and m_tab2.
How may one disable the entire tab (for example, m_tab1)? such that the entire m_tab1 is grayed out, and inactive? (not just disabling each item in the tab)
Please help.
Thank you very much.
tiff.
-
August 14th, 2002, 03:26 PM
#2
Check this article
Hope this helps,
- Nigel
-
August 14th, 2002, 04:44 PM
#3
Why would disabling a tab be necessary? Unless you have a good reason, it is better to hide the tab rather than disable it. An inaccessible yet visible tab is a waste of space.
-
August 15th, 2002, 09:54 AM
#4
I've seen in MS Office products for example, in certain options, there are multiple tabs. Some of the tabs are inactive & grayed out while others are not, depending on the need for use at that point. The same thing is seen also when clicking Menu items. So I try to learn how it's done.
If anyone has further inputs, please let me know.
Thanks everyone for your replies.
-
July 15th, 2005, 12:14 AM
#5
Re: How to disable a tab page
hello
I dont know if this is possible but allow me to state my case
I have an SDI application with tab ctrl, if you click a button on tab1 the other tabs cannot be click , on this case only a certain button is applicable to be click.
Is there a way to disable the 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
|