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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Adding modal/modless dialogs to taskbar

Adding modal/modless dialogs to taskbar

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
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.
  • M Offline
    M Offline
    mister trunks
    wrote on last edited by
    #1

    how do you do this?? When i make dialog boxes they minimize right above the taskbar as opposed to minimizing into the taskbar with the parent application... Do you have to change the owner of the dialog boxes?? When you call AFXMESSAGEBOX("") that dialog that is created gets put into the taskbar.. So i am asuming that when a window is created whos owner is the main application, it gets put into the taskbar upon minimization - but when a dialog is created as a child, it minimizes right above the taskbar. Ive asked this quesiton before and had no answers - has anyone had this problem before?? Can someone at least point me where to look for the answer? thanks -kevin

    M 1 Reply Last reply
    0
    • M mister trunks

      how do you do this?? When i make dialog boxes they minimize right above the taskbar as opposed to minimizing into the taskbar with the parent application... Do you have to change the owner of the dialog boxes?? When you call AFXMESSAGEBOX("") that dialog that is created gets put into the taskbar.. So i am asuming that when a window is created whos owner is the main application, it gets put into the taskbar upon minimization - but when a dialog is created as a child, it minimizes right above the taskbar. Ive asked this quesiton before and had no answers - has anyone had this problem before?? Can someone at least point me where to look for the answer? thanks -kevin

      M Offline
      M Offline
      mister trunks
      wrote on last edited by
      #2

      am i explaining myself correctly???????????????????????????????? does anyone have anyclue??

      A 1 Reply Last reply
      0
      • M mister trunks

        am i explaining myself correctly???????????????????????????????? does anyone have anyclue??

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

        When you create an instance of the dialog, do you pass it a pointer to it's parent window? i.e. CMyDialog dlg(this); dlg.DoModal(); This may help if you're not doing it already -Alex

        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