C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 07-23-2003, 05:59 AM   #1
Iron Mike
Guest
 
Posts: n/a
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?
  Reply With Quote
Old 07-23-2003, 10:50 AM   #2
Iron Mike
Guest
 
Posts: n/a
Have it sorted now..

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

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button handler Nephiroth Windows Programming 8 03-12-2006 06:23 AM
Tab order in Tab Control Halloko Windows Programming 2 05-08-2005 11:08 PM
tab control tyouk Windows Programming 6 02-07-2005 11:47 PM
Tab Controls - API -KEN- Windows Programming 7 06-02-2002 09:44 AM
Using Tab control to change between dialogs Eado Windows Programming 2 05-15-2002 03:43 AM


All times are GMT -6. The time now is 08:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22