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. How to change tab event of property sheet

How to change tab event of property sheet

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingtutorial
4 Posts 4 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.
  • K Offline
    K Offline
    kangte2222
    wrote on last edited by
    #1

    Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }

    Visual C

    D M L 3 Replies Last reply
    0
    • K kangte2222

      Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }

      Visual C

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Do you have a specific question, or are you just posting random code? :confused:

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

      1 Reply Last reply
      0
      • K kangte2222

        Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }

        Visual C

        M Offline
        M Offline
        Malli_S
        wrote on last edited by
        #3

        What is the question? Please go through the guidelines HOW-TO-ASK-A-QUESTION[^] before posting the question.

        [Delegates]      [Virtual Desktop]      [Tray Me !]
        -Malli...! :rose:****

        1 Reply Last reply
        0
        • K kangte2222

          Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }

          Visual C

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Hi, You should be getting a CPropertyPage::OnKillActive [^]call when you tab to the next page. If this is not working... then the way to debug this would be checking the CWnd::OnNotify[^] handler and make sure your WM_NOTIFY is not consuming the PSN_KILLACTIVE notification code[^]. Best Wishes, -David Delaune

          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