|
-
Apr 1st, 2006, 03:14 AM
#1
Thread Starter
Frenzied Member
[2.0] MDI Forms problem
Hi,
Supposing I have several MDI forms, and want it to work like your average MDI forms application, with one exception. I have a few different "always on top" singleton forms. i.e, a tool box, etc... How do I keep them in the MDI area, without them being a complete part of the MDI Child forms array, so that when I maximize the child form(s), it doesn't maximize the specific forms (and also so that they stay on top)
Bill
-
Apr 1st, 2006, 04:17 AM
#2
Re: [2.0] MDI Forms problem
I guess, it can be done by using GetWindowRect and by subclassing the form and trapping WM_WINDOWPOSITIONCHANGING message.
But I'll be glad if someone posts a 'framework way'.
I'm a newbie in C#. Sorry, I don't know the 'framework way'.
-
Apr 1st, 2006, 05:23 AM
#3
Thread Starter
Frenzied Member
Re: [2.0] MDI Forms problem
Hmm, I don't mind using API calls if it's absolutely necessary... but like you said, I'd much rather find a '.NET' way.. If I get nothing here, I'll post in VB.NET..
Bill
-
Apr 1st, 2006, 07:56 PM
#4
Re: [2.0] MDI Forms problem
...on second thougt, it mightbe done just by SetParent. But that may cause some problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|