TAB CONTROL [modified]
-
plz tell me answer for this i want to know is this code work when i click tab1 on tab control i try this but not do the work. void CGouravDlg::OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult) { // TODO: Add your control notification handler code here CBrush brush; CDC *pDC; if(BN_CLICKED(IDC_TAB1)) { brush.CreateSolidBrush(RGB(100,0,0)); pDC->SetBkColor(RGB(100,0,0)); // m_tab.SendMessage(WM_PAINT,0L,0L); } *pResult = 0; } Ashish Dogra MCA Noida -- modified at 7:24 Wednesday 19th July, 2006
-
plz tell me answer for this i want to know is this code work when i click tab1 on tab control i try this but not do the work. void CGouravDlg::OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult) { // TODO: Add your control notification handler code here CBrush brush; CDC *pDC; if(BN_CLICKED(IDC_TAB1)) { brush.CreateSolidBrush(RGB(100,0,0)); pDC->SetBkColor(RGB(100,0,0)); // m_tab.SendMessage(WM_PAINT,0L,0L); } *pResult = 0; } Ashish Dogra MCA Noida -- modified at 7:24 Wednesday 19th July, 2006
I dont know why you ask this question repeated I reply to you in previous thread and you can find your answer in this article(you can derived tabctrl and use from WM_PAINT)_**
**_
whitesky