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. Model - Modeless dialog problem

Model - Modeless dialog problem

Scheduled Pinned Locked Moved C / C++ / MFC
3 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.
  • A Offline
    A Offline
    ashtwin
    wrote on last edited by
    #1

    Hi, I am creating a modeless dialog box from my application. On this modeless dialog if i click a button one modal dialog is coming. After closing these two dialogs the focus is not returning back to the main window and the menu are appearing as disabled though they are enabled. The problem is not there if close the modeless dialog without creating the modal dialog.

    S 1 Reply Last reply
    0
    • A ashtwin

      Hi, I am creating a modeless dialog box from my application. On this modeless dialog if i click a button one modal dialog is coming. After closing these two dialogs the focus is not returning back to the main window and the menu are appearing as disabled though they are enabled. The problem is not there if close the modeless dialog without creating the modal dialog.

      S Offline
      S Offline
      softwaremonkey
      wrote on last edited by
      #2

      Hi, How are you creating and closing the modeless dialog? It sounds like the dialog is running modal? DO you have the code snippets? Tony

      A 1 Reply Last reply
      0
      • S softwaremonkey

        Hi, How are you creating and closing the modeless dialog? It sounds like the dialog is running modal? DO you have the code snippets? Tony

        A Offline
        A Offline
        ashtwin
        wrote on last edited by
        #3

        Hi I using the create function to create the modeless dialog box and DestroyWindow() to close it.

        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