[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

How to diable the Propery Page Tab

How to disable a particular tab of the property page, say i have 3 tabs on my property page, i want to disable the third tab. Please help to sort out this problem
1 Solution
If you are using CPropertySheet, don't add the page you want to hide.

If the page is a CTabCtrl, this is derived from CWnd so you can use CWnd::EnableWindow (FALSE) to disable it. The tab and all its controls will be greyed and cannot receive the focus

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now