Oleg,Quote:>Is there a way to subclass the Tab control of a property sheet? I want to
>make it ownerdraw.
Yes there is.
In the property sheet class, add an OnInitDialog handler with
this additional code to sub-class the tab control with your class and
make it owner-drawn:
m_Tab - a derived CTabCtrl - CMyTabCtl added as a member
variable of the property sheet class.
m_Tab.SubclassDlgItem( AFX_IDC_TAB_CONTROL, this );
m_Tab.ModifyStyle( 0, TCS_OWNERDRAWFIXED );
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.
I have following problem:
My property sheet control has 5 tabs. I've implemented risizing of he
control(window). As i resize it so that all tabs don't fit to the window
the control changes its look to the multiline one (automatically). I
want prevent it so that the control looks like that one in the Microsoft
Developer Studio in the Build-Settings-Menu (with an horizontal
scrollbar in the right top edge of the tab control)
Has anybody an idea, how i could do it?