Click here to Skip to main content
15,908,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
afx_msg HBRUSH OnCtlColor(
CDC* pDC,
CWnd* pWnd,
UINT nCtlColor
);
hi all, in the above function declaration, what should be the value of(such as CTLCOLOR_BTN, CTLCOLOR_DLG) last parameter(nCtlColor) while we are using Tab control of VC.please help me...
thank you in advance...
Posted

1 solution

In tab controls this don't work in the same way... you should think on going ownerdraw...

take a look at this article [^]in the MSDN it will help you doing what you want...

Apart of that, you can get plenty of information and examples in this article area[^] on CP...

Hope this helps! :thumbsup:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900