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 can a dialog be Modeless when invoked with DoModal

How can a dialog be Modeless when invoked with DoModal

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.
  • W Offline
    W Offline
    Wolfram Steinke
    wrote on last edited by
    #1

    Does anyone have a suggestion on where to look to explain why a dialog ends up modeless when it is invokes by actually calling DoModal. This is the first time this has ever happened to me. It uses a layout manager from this site, but other dialogs in the same project that are called in the same way remain modal. Only this one seems to change. Happy programming!!

    N 1 Reply Last reply
    0
    • W Wolfram Steinke

      Does anyone have a suggestion on where to look to explain why a dialog ends up modeless when it is invokes by actually calling DoModal. This is the first time this has ever happened to me. It uses a layout manager from this site, but other dialogs in the same project that are called in the same way remain modal. Only this one seems to change. Happy programming!!

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      See the bug I talk about in this article :- The singular non-modality of MFC modal dialogs[^] Regards, Nish

      My blog : Nish’s thoughts on MFC, C++/CLI and .NET

      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