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. Modeless Dialog

Modeless Dialog

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

    I am using modeless dialog box in my application . But When I minimize Main Application the modeless Dialog Box also minimize . It is also not showing in the task bar to switch to modeless dialog . How to avoid the dialogbox to minimize with the main Application .also how to show it in taskbar

    Rajesh

    C 1 Reply Last reply
    0
    • R rjkg

      I am using modeless dialog box in my application . But When I minimize Main Application the modeless Dialog Box also minimize . It is also not showing in the task bar to switch to modeless dialog . How to avoid the dialogbox to minimize with the main Application .also how to show it in taskbar

      Rajesh

      C Offline
      C Offline
      Code o mat
      wrote on last edited by
      #2

      What is the parent of your dialog? The main window of your app? Try to make the desktop the parent and make sure your dialog has the "app window" style to make it appear on the taskbar.

      > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

      R A 2 Replies Last reply
      0
      • C Code o mat

        What is the parent of your dialog? The main window of your app? Try to make the desktop the parent and make sure your dialog has the "app window" style to make it appear on the taskbar.

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

        R Offline
        R Offline
        rjkg
        wrote on last edited by
        #3

        Main Window Not destop. I could not find to change it to Desktop

        Rajesh

        C 1 Reply Last reply
        0
        • R rjkg

          Main Window Not destop. I could not find to change it to Desktop

          Rajesh

          C Offline
          C Offline
          Code o mat
          wrote on last edited by
          #4

          How did you create your modeless dialog? Show code please.

          > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

          1 Reply Last reply
          0
          • C Code o mat

            What is the parent of your dialog? The main window of your app? Try to make the desktop the parent and make sure your dialog has the "app window" style to make it appear on the taskbar.

            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

            A Offline
            A Offline
            Adam Roderick J
            wrote on last edited by
            #5

            As Code-o-mat suggested, you need to set the desktop as the parent for the Modeless dialog. You have the parent on create itself.

            CWnd* pParentWnd = GetDesktopWindow();
            pMyModeless->Create( IDD_DIALOG1, pParentWnd );

            Величие не Бога может быть недооценена.

            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