CTabCtrl
-
How can I get rid of the black line drawn at the bottom of a tab control? None of the options on the property pages seem to do it without adding other lines in places i don't want, and i don't see any member functions that would do it. I want a control that has the dialog face color on its bottom edge (like a typical property page tab set), not black. -c
When history comes, it always takes you by surprise.
-
How can I get rid of the black line drawn at the bottom of a tab control? None of the options on the property pages seem to do it without adding other lines in places i don't want, and i don't see any member functions that would do it. I want a control that has the dialog face color on its bottom edge (like a typical property page tab set), not black. -c
When history comes, it always takes you by surprise.
-
derive the control ! onncpaint framerect(clientrect,getsyscolorbursh(COLOR_3DFACE)); that`s it ! no more border ! I am the mighty keeper of the book on knowledge . Contact me to get your copy .
if you meant this:
void CMyTab::OnNcPaint()
{
CDC *pDC = GetDC();
CRect cr;
GetClientRect(cr);FrameRect(pDC->m_hDC, cr, ::GetSysColorBrush(COLOR_3DFACE));
ReleaseDC(pDC);
}then, no. that's not it. the border is still there. -c
Image tools: ThumbNailer, Bobber, TIFFAssembler