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. VoidNish

VoidNish

Scheduled Pinned Locked Moved C / C++ / MFC
c++data-structures
4 Posts 3 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.
  • M Offline
    M Offline
    Mauro Leggieri
    wrote on last edited by
    #1

    Hi Nish, I was visiting your site recently and about the method of showing a message box after the main window is closed on an mfc app, i have 2 alternatives. (I decided to contact you here) 1) Removing the WM_QUIT message from the queue after dlg.DoModal() returns. 2) Calling AfxOleLockApp() at the beginning of InitInstance and then calling AfxOleUnlockApp() and AfxPostQuitMessage(0) when i really have to quit. Best regards and great articles you have, Mauro Leggieri. -- modified at 4:45 Sunday 2nd April, 2006

    K J 2 Replies Last reply
    0
    • M Mauro Leggieri

      Hi Nish, I was visiting your site recently and about the method of showing a message box after the main window is closed on an mfc app, i have 2 alternatives. (I decided to contact you here) 1) Removing the WM_QUIT message from the queue after dlg.DoModal() returns. 2) Calling AfxOleLockApp() at the beginning of InitInstance and then calling AfxOleUnlockApp() and AfxPostQuitMessage(0) when i really have to quit. Best regards and great articles you have, Mauro Leggieri. -- modified at 4:45 Sunday 2nd April, 2006

      K Offline
      K Offline
      Kant
      wrote on last edited by
      #2

      Mauro Leggieri wrote:

      i have 2 alternatives. (I decided to contact you here)

      :confused: How about contacting him directly? or Posting the question in related forum. http://www.voidnish.com/ContactMe.aspx[^] Got Signature?

      M 1 Reply Last reply
      0
      • M Mauro Leggieri

        Hi Nish, I was visiting your site recently and about the method of showing a message box after the main window is closed on an mfc app, i have 2 alternatives. (I decided to contact you here) 1) Removing the WM_QUIT message from the queue after dlg.DoModal() returns. 2) Calling AfxOleLockApp() at the beginning of InitInstance and then calling AfxOleUnlockApp() and AfxPostQuitMessage(0) when i really have to quit. Best regards and great articles you have, Mauro Leggieri. -- modified at 4:45 Sunday 2nd April, 2006

        J Offline
        J Offline
        Jack Puppy
        wrote on last edited by
        #3

        Is this shot priceless or what? Young Nish and cool Window Sizer app - I was looking for something like that for making consistently sized screencasts. Montreal great Guy Lafleur, quoted by CBC on being mugged while vacationing recently in Buenos Aires: "I didn't have any time to react before I got a sucker-punch in the eye. It was like one of the players from the Bruins."

        1 Reply Last reply
        0
        • K Kant

          Mauro Leggieri wrote:

          i have 2 alternatives. (I decided to contact you here)

          :confused: How about contacting him directly? or Posting the question in related forum. http://www.voidnish.com/ContactMe.aspx[^] Got Signature?

          M Offline
          M Offline
          Mauro Leggieri
          wrote on last edited by
          #4

          Hi, He wrote in his site to contact him by email or any can found him on codeproject's lounge and I was unsure if I post the message in other forum he would see it. It was a simple choice and my intention was not to offend anyone. Best regards, Mauro.

          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