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. CFrameWnd::Create

CFrameWnd::Create

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 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
    RK_2000
    wrote on last edited by
    #1

    Is there anyway to force a window created using this command to stay on top of its parent window at all times (kind of app modal)? However, I have a problem with when other windows overlap the parent window of my message. This message sort of pops up in front of the new dialog as well.. Any solutions?

    T 1 Reply Last reply
    0
    • R RK_2000

      Is there anyway to force a window created using this command to stay on top of its parent window at all times (kind of app modal)? However, I have a problem with when other windows overlap the parent window of my message. This message sort of pops up in front of the new dialog as well.. Any solutions?

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      Did you try with setting pParentWnd parameter of CFrameWnd::Create to AfxGetMainWnd()? Tomasz Sowinski -- http://www.shooltz.com

      *** Si fractum non sit, noli id reficere. ***

      A 1 Reply Last reply
      0
      • T Tomasz Sowinski

        Did you try with setting pParentWnd parameter of CFrameWnd::Create to AfxGetMainWnd()? Tomasz Sowinski -- http://www.shooltz.com

        *** Si fractum non sit, noli id reficere. ***

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

        Or did you try with setting pParentWnd parameter to NULL?

        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