Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. TAB CONTROL [modified]

TAB CONTROL [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashish dogra
    wrote on last edited by
    #1

    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

    H 1 Reply Last reply
    0
    • A ashish dogra

      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

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      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


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups