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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. tab control in vc++

tab control in vc++

Scheduled Pinned Locked Moved C / C++ / MFC
c++
4 Posts 2 Posters 1 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.
  • V Offline
    V Offline
    vc programmer 0
    wrote on last edited by
    #1

    i want to create sample dialog tab control.......

    Y V 2 Replies Last reply
    0
    • V vc programmer 0

      i want to create sample dialog tab control.......

      Y Offline
      Y Offline
      Yulianto
      wrote on last edited by
      #2

      What`s the problem?


      Work hard and a bit of luck is the key to success.

      You don`t need to be genius, to be rich.

      V 1 Reply Last reply
      0
      • Y Yulianto

        What`s the problem?


        Work hard and a bit of luck is the key to success.

        You don`t need to be genius, to be rich.

        V Offline
        V Offline
        vc programmer 0
        wrote on last edited by
        #3

        i want to use tab control in my mdi application... (i don't mean mdi tab control) tab control with image and button.

        1 Reply Last reply
        0
        • V vc programmer 0

          i want to create sample dialog tab control.......

          V Offline
          V Offline
          vc programmer 0
          wrote on last edited by
          #4

          >>>>>>>>>>>>>>>This is my error>>>>>>>>>>>>>> MyTabCtrl.cpp(54) : error C2275: 'CMyTabDlg' : illegal use of this type as an expression MyTabdlg.h(13) : see declaration of CMyTabDlg' >>>>>>>>>>>>>>>This is My code>>>>>>>>>>>>>>>> //MyTabCtrl.cpp CDialog *m_tabPages[2]; //MyTabCtrl.cpp void CMyTabCtrl::Init() { m_tabCurrent=0; m_tabPages[0]->Create(CBiometric_TabDlg,this); //what i use parameter m_tabPages[1]->Create(CBiometric_TabDlg,this); m_tabPages[0]->ShowWindow(SW_SHOW); m_tabPages[1]->ShowWindow(SW_HIDE); SetRectangle(); } //MyView.h CMyTabCtrl m_tab; //MyView.cpp void CMyView::OnInitialUpdate() { CFormView::OnInitialUpdate(); m_tab.InsertItem(0, _T("One")); m_tab.InsertItem(1, _T("Two")); m_tab.Init(); }

          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