Thread: Disable a tab in control tab?

  1. #1
    Iron Mike
    Guest

    Disable a tab in control tab?

    I have a multi-tab control in my program.

    There is always 5 tabs showed, the 5th tab (far right) is always "QUIT" and exits the program.

    The Other 4 are read from a .ini "TabName1=Tab 1" "TabName2=Tab 2" etc etc.

    If i have "TabName3=" in the .ini i have the 3rd tab button to show no text (blank).

    If this is the case is it possible to make it so this tab cannot be clicked but still shown?

  2. #2
    Iron Mike
    Guest
    Have it sorted now..

    I Used GetCurSel and TCM_DESELECTALL if the value of the tab name is blank.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  2. Tab order in Tab Control
    By Halloko in forum Windows Programming
    Replies: 2
    Last Post: 05-08-2005, 11:08 PM
  3. tab control
    By tyouk in forum Windows Programming
    Replies: 6
    Last Post: 02-07-2005, 11:47 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. Using Tab control to change between dialogs
    By Eado in forum Windows Programming
    Replies: 2
    Last Post: 05-15-2002, 03:43 AM