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