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. Win32++ Dialog

Win32++ Dialog

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
5 Posts 4 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.
  • U Offline
    U Offline
    User 13689756
    wrote on last edited by
    #1

    Hello, I am using Win32++ and I would like to know how to prevent a CDialog window from closing the main frame (CMainFrame). I have overriden OnOK() and OnClose() and added nothing to these functions. R.S.V.P

    L L 2 Replies Last reply
    0
    • U User 13689756

      Hello, I am using Win32++ and I would like to know how to prevent a CDialog window from closing the main frame (CMainFrame). I have overriden OnOK() and OnClose() and added nothing to these functions. R.S.V.P

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

      Member 13721875 wrote:

      I am using Win32++

      What is Win32++? Also, we cannot guess what your code is doing, you need to provide more information.

      CPalliniC 1 Reply Last reply
      0
      • L Lost User

        Member 13721875 wrote:

        I am using Win32++

        What is Win32++? Also, we cannot guess what your code is doing, you need to provide more information.

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        Richard MacCutchan wrote:

        What is Win32++?

        It is the poor man's MFC[^].

        In testa che avete, signor di Ceprano?

        L 1 Reply Last reply
        0
        • CPalliniC CPallini

          Richard MacCutchan wrote:

          What is Win32++?

          It is the poor man's MFC[^].

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

          Thanks, I think I came across this many years ago, but cannot remember where. And I thought MFC was also free these days.

          1 Reply Last reply
          0
          • U User 13689756

            Hello, I am using Win32++ and I would like to know how to prevent a CDialog window from closing the main frame (CMainFrame). I have overriden OnOK() and OnClose() and added nothing to these functions. R.S.V.P

            L Offline
            L Offline
            leon de boer
            wrote on last edited by
            #5

            You have the code so look at what messages a CDialog sends and posts in response to it's WM_CLOSE and WM_DESTROY.

            In vino veritas

            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