(using VS.net 2005 - never used DotNet WinForms til now - previously only
used VB6)
I have set my mdi child form to a window state of maximized.
However, the first file I open is not maximized and I can not get to the
drag bar.
But then, the second file I open (using the same function) IS maximized and
it maximizes the first, previously opened mdiChild also...
What's the trick here, that I assume I'm missing? 7 11654
"Elmo Watson" <sp*****@nospam.yahoo.com> schrieb: I have set my mdi child form to a window state of maximized.
However, the first file I open is not maximized and I can not get to the drag bar.
But then, the second file I open (using the same function) IS maximized and it maximizes the first, previously opened mdiChild also...
How are you opening the child forms?
It's by design that maximizing one of the child forms will maximize all
other MDI children too.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
I have a method in a Module, in order to simplify things
objDoc=New frmEdit
objDoc.MdiParent=frmMain (keep in mind, this is in a module)
objDoc.Text="Untitled"
objDoc.Show
I'm totally open to any new knowledge on how to do this - I'm very new at
DotNet WindowsForms - I was a VB6 guy for years and now, I'm starting with
v2.0 of DotNet
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... "Elmo Watson" <sp*****@nospam.yahoo.com> schrieb: I have set my mdi child form to a window state of maximized.
However, the first file I open is not maximized and I can not get to the drag bar.
But then, the second file I open (using the same function) IS maximized and it maximizes the first, previously opened mdiChild also...
How are you opening the child forms?
It's by design that maximizing one of the child forms will maximize all other MDI children too.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
"Elmo Watson" <sp**********@NOSpam.yahoo.com> schrieb: I have a method in a Module, in order to simplify things objDoc=New frmEdit objDoc.MdiParent=frmMain (keep in mind, this is in a module) objDoc.Text="Untitled" objDoc.Show
I'm totally open to any new knowledge on how to do this - I'm very new at DotNet WindowsForms - I was a VB6 guy for years and now, I'm starting with v2.0 of DotNet
Are you sure you set the MDI child's 'WindowState' to 'Maximized'?
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Absolutely - I've checked it several times.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl... "Elmo Watson" <sp**********@NOSpam.yahoo.com> schrieb:I have a method in a Module, in order to simplify things objDoc=New frmEdit objDoc.MdiParent=frmMain (keep in mind, this is in a module) objDoc.Text="Untitled" objDoc.Show
I'm totally open to any new knowledge on how to do this - I'm very new at DotNet WindowsForms - I was a VB6 guy for years and now, I'm starting with v2.0 of DotNet
Are you sure you set the MDI child's 'WindowState' to 'Maximized'?
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Anyone have a fix for this?
"Elmo Watson" <sp**********@NOSpam.yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Absolutely - I've checked it several times.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl... "Elmo Watson" <sp**********@NOSpam.yahoo.com> schrieb:I have a method in a Module, in order to simplify things objDoc=New frmEdit objDoc.MdiParent=frmMain (keep in mind, this is in a module) objDoc.Text="Untitled" objDoc.Show
I'm totally open to any new knowledge on how to do this - I'm very new at DotNet WindowsForms - I was a VB6 guy for years and now, I'm starting with v2.0 of DotNet
Are you sure you set the MDI child's 'WindowState' to 'Maximized'?
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
I didn't have this problem with the VS 2005 beta, including a project that
was started in beta and has now been updated to the final release. But in new
projects started in the release version I have this problem.
The closest I have come to finding a fix is to set window state in the load
event of the child form.
Geoff
Glad to hear I'm not the only one who has this problem...
I stumbled on the same "fix" as you did.
"geoffteb" <ge******@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com... I didn't have this problem with the VS 2005 beta, including a project that was started in beta and has now been updated to the final release. But in new projects started in the release version I have this problem.
The closest I have come to finding a fix is to set window state in the load event of the child form.
Geoff This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: TAZ |
last post by:
Here http://jacek.jackowski.net.pl/kontakt.php is a css menu and also a
form below, when the menu expands it hides part fo forms inputs. It'll
be allright but when you move cursor above the form...
|
by: Bore Biko |
last post by:
Dear,
I have function that transform time from secconds
to string formated as dd:hh:mm:ss
(days:hours:minutes:seconds), but it doesent
work correctly...
Here s code compiled with gcc
it goes...
|
by: A.M-SG |
last post by:
Hi,
I have an aspx page at the web server that provides PDF documents for smart
client applications.
Here is the code in aspx page that defines content type:
Response.ContentType =...
|
by: Henke |
last post by:
Hi!
I add some web user controls dynamicly with:
myPanel.Controls.Add(Page.LoadControl("MyDynamiclyAddedPage.ascx"));
the style of the controls on the user control is set from a css-class, by...
|
by: PleegWat |
last post by:
Hi,
I'm using this function:
function die_quietly( $text='', $title='', $file='', $line='', $sql='' )
{
global $wowdb, $roster_conf, $wordings, $roster_menu;
// die_quitely died quietly...
| |
by: Dutchman |
last post by:
I want to safe a backup file of Norton Ghost 10.0 to a DVD but after making the image the dvd stops working.
First i changed the entire systeem by going back to an backup of 9 days. That didn't...
|
by: just a feeling |
last post by:
Hi,
Though my problem seems simple, I didn't find the sol.
a:link doesn't look as it should be in my browser (IE6) i.e the link is displayed in the text's default color (I guess it's purple)...
|
by: dolittle |
last post by:
Hi,
I`m opening a popup window and then later want to set the focus to it.
My code:
newWin = window.open('chat.html');
and when I want to set the focus I use:
newWin.focus();
It always...
|
by: Marren02 |
last post by:
Hi, Whenever I try and find an age function I find that it doesn't work the way I want it to... Here's what I want to do: I want the age function to first ask the user a question ("What is your date...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |