codetoad.com
��ASP Shopping Cart,�Forum�&�BBS
��- all for $20 from CodeToad Plus!
��Home�||�ASP�|�ASP.Net�|�C++/C#�|�DHTML�|�HTML�|�Java�|�Javascript�|�Perl�|�VB�|�XML�||�CodeToad�Plus!�||�Forums�||�RAM
Search Site:
Search Forums:
MDI form open size and location �RickBlaine at 22:15 on Monday, August 21, 2006

I'm kinda new to VB6 and have a simple query I can't seem to find an answer for. I'm working on a desktop application. I need 1) to get the state (size and screen location) of the app's MDI form when the app is closed so I can 2) open the MDI to that same state next time the application is run. Help would be greatly appreciated. Thanks.

Re: MDI form open size and location �javabits at 20:24 on Wednesday, August 23, 2006

If your form is named Form1 then the following should give you location and dimensions.

Form1.CurrentX
Form1.CurrentY
Form1.Width
Form1.Height

semper fi...

Re: MDI form open size and location �RickBlaine at 00:35 on Saturday, August 26, 2006

Thanks, Javabits. I'll give that a try.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
�� info out of an video example
�� Re: Help: Trouble with z-Index and SELECT lists
�� position of a page inside a pop-up in javascript
�� document.write in IE and Mozilla/Netscape.
�� Ugent Help needed
�� java help questions
�� Re: Get HTML Sourcecode
�� Re: Submitting Iframes
�� Re: Validating multiple passwords


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


� Copyright codetoad.com 2001-2006