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. Setting a windows parent

Setting a windows parent

Scheduled Pinned Locked Moved C / C++ / MFC
comquestion
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.
  • D Offline
    D Offline
    David Wengier
    wrote on last edited by
    #1

    Is there a way to set a windows parent window other than using SetParent? What I want is for the child window to not be clipped inside the parent window, just appear on top of it all the time, and minimise with it etc. Is it another call I have to make after SetParent? Thanks in advance. -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k

    N T 2 Replies Last reply
    0
    • D David Wengier

      Is there a way to set a windows parent window other than using SetParent? What I want is for the child window to not be clipped inside the parent window, just appear on top of it all the time, and minimise with it etc. Is it another call I have to make after SetParent? Thanks in advance. -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k

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

      David Wengier wrote: What I want is for the child window to not be clipped inside the parent window, just appear on top of it all the time, and minimise with it etc. Normally it is clipped only if it is an MDI child window. Is that what you mean? Nish

      Chris, Can I have a Johnny Bravo icon please? Please, please, please........

      D 1 Reply Last reply
      0
      • N Nish Nishant

        David Wengier wrote: What I want is for the child window to not be clipped inside the parent window, just appear on top of it all the time, and minimise with it etc. Normally it is clipped only if it is an MDI child window. Is that what you mean? Nish

        Chris, Can I have a Johnny Bravo icon please? Please, please, please........

        D Offline
        D Offline
        David Wengier
        wrote on last edited by
        #3

        It appears exactly as you would expect if it was an MDI child window, but its not, and the parent isnt an MDI window! I was just thinking though, and I was wondering if it might actually be something in the creation of the child, rather than the showing of it. Like maybe it needs a taskbar button to appear outside the main window. -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k

        1 Reply Last reply
        0
        • D David Wengier

          Is there a way to set a windows parent window other than using SetParent? What I want is for the child window to not be clipped inside the parent window, just appear on top of it all the time, and minimise with it etc. Is it another call I have to make after SetParent? Thanks in advance. -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k

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

          Parent->child relationship always imposes clipping. There's also owner->owned relationship, but AFAIR, you can't change that after creation. For example, dialogs are usually owned by main window. Tomasz Sowinski -- http://www.shooltz.com
          ** If you're going to rape, pillage and burn, be sure to do things in that order. **

          D 1 Reply Last reply
          0
          • T Tomasz Sowinski

            Parent->child relationship always imposes clipping. There's also owner->owned relationship, but AFAIR, you can't change that after creation. For example, dialogs are usually owned by main window. Tomasz Sowinski -- http://www.shooltz.com
            ** If you're going to rape, pillage and burn, be sure to do things in that order. **

            D Offline
            D Offline
            David Wengier
            wrote on last edited by
            #5

            Tomasz Sowinski wrote: also owner->owned relationship That sounds exactly like what I want. Tomasz Sowinski wrote: but AFAIR, you can't change that after creation :(( Thanks for the help :) -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k

            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