|
-
July 15th, 2003, 10:14 AM
#1
Making MDI Child at run time
Hi,
I have a problem. I want to make a form an mdi child of another form during run time. I did it by using SetParent api, but it is not working as expected. Eventhough it became mdi child, when I maximize it is not maximizing as mdi childs do. Still I can see two window title bars. Usually when we maximize an mdi child, the window title bar of the child becomes invisible. Is it possible to make a form an mdi child during run time and they work exactly the same way as if we set during design time?
Thanks
Kishore
-
July 16th, 2003, 12:59 AM
#2
Not directly (that I know of). You'll have to put in extra code to hide the caption bar of the "child" form. Also code to handle any menus that you may want to combine when mximizing the forms.
Mike
-
July 17th, 2003, 06:39 AM
#3
Dear Pinky,
Thank you for your replay. But I am searching for that extra code. If you get any info, please let me know.
Regards
Kishore
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
|