|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MDI Form PositionTwo questions about positioning: When I run my MDI application developed by VS.NET 2003, the MDI window is opened in a new place and after some run again and again, it opens in a position that some borders of MDI form goes out of the desktop. The WindowState of MDI form is in Normal state. Q1: How can I open my form in a position that the form is not gone out of desktop Q2: How can I position in the same position as previously opened in the last run. Thanks in advance. Hamed The startup location is a property on the form called StartupLocation. This
can be used to startit center screen or something. To make it start where is was last time you would need to handle the changing of the location and save the new location to the registry or something. Then load it in the form constructor and set the property. HTH Ciaran O'Donnell Show quoteHide quote "Hamed" wrote: > Hello > > Two questions about positioning: > > When I run my MDI application developed by VS.NET 2003, the MDI window is > opened in a new place and after some run again and again, it opens in a > position that some borders of MDI form goes out of the desktop. > > The WindowState of MDI form is in Normal state. > > Q1: How can I open my form in a position that the form is not gone out of > desktop > > Q2: How can I position in the same position as previously opened in the last > run. > > Thanks in advance. > > Hamed > > >
Sorting Arraylist Of Objects
Newbee - Project with single module. force cast of object to mytype... How to ensure DB changes complete? Method Address from MethodInfo: How do I get it? mouse freezes in Visual Studio CreateToolhelp32Snapshot Can't access controls programmatically when inside FormView control (newbie -VB 2005 EE) TextBox question Threading |
|||||||||||||||||||||||