Tab Control - disabling a tab 
Author Message
 Tab Control - disabling a tab

Is it possible to disable a single tag in a tab control so
that it is grayed but still visble ?

Ray



Mon, 26 Sep 2005 22:54:25 GMT  
 Tab Control - disabling a tab


Quote:
> Is it possible to disable a single tag in a tab control so
> that it is grayed but still visble ?

> Ray

According to the documentation, the answer is no. You could achieve an
equivalent effect by making the tabs owner drawn (and drawing the "disabled"
tab in a suitable color) and by processing the TCN_SELCHANGING message to
prevent the "disabled" tab from being chosen.

--

Quixote
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)



Mon, 26 Sep 2005 23:56:27 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Disabling individual tabs on a tab control

2. Tab key to tab between controls does not work properly

3. want tab control with tabs on bottom

4. Moving the first tab in a tab control over a bit

5. Cannot press tab to move to a tab control after using WS_EX_CONTROLPARENT

6. Article: Implementing drag 'n drop tab sorting in a tab control

7. Tab Control Ctrl-Tab-Keys

8. Tab control: separate a tab

9. Tab control and tab order

10. tabbing in subdialog of tab control of CDialog blows up

11. Tab positions on a tab page

12. Property sheets: Changing [tab] to [alt][tab]?

 

 
Powered by phpBB® Forum Software