Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 how to limit the position of Dialog Boxes to it's parent window
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
deville75




PostPosted: Wed Jan 31, 2007 9:56 am   Post subject: how to limit the position of Dialog Boxes to it's parent window

Hey, it's me again with more Win32 help needed.

There are some programs I've used that contain multiple windows or dialog boxes that all stay within the parent window. How do I accomplish this. Basically I want the windows to only be able to staye within the parent window. So the user will not be able to move a dialog box outside of the parent window. A good example of what exactly I want is when you use VC++ the windows (if 'Restored') are all contained within the parent window. It's as if the parent window is an OS, for example, and the child windows are all contained.

Any idea how to do this?
Sponsor
Sponsor
Sponsor
sponsor
rdrake




PostPosted: Wed Jan 31, 2007 10:07 am   Post subject: RE:how to limit the position of Dialog Boxes to it\'s parent window

You'll want to lookup MDI in order to accomplish such a thing.
wtd




PostPosted: Wed Jan 31, 2007 11:41 am   Post subject: RE:how to limit the position of Dialog Boxes to it\'s parent window

What he said. Smile
deville75




PostPosted: Wed Jan 31, 2007 1:52 pm   Post subject: RE:how to limit the position of Dialog Boxes to it\'s parent window

Cool, got it.. I found some good stuff.. thanks!
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: