473,396 Members | 1,917 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Basic question

If the main window of my application is maximized, all the windows call by
program (it is not a mdi application) open themselves maximized.
The window called by the main window has this code for its Load event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)
Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub

In spite of this code, if the calling window is maximized, the called window
is maximized.

If the main window is not maximized, then all is good.

Which property of the called window must I change to avoid this problem ?

Thanks for response.


Mar 2 '06 #1
17 1165
philip wrote:
Which property of the called window must I change to avoid this
problem ?


I don't think you can change this.

The behaviour of MDI child forms is that they are either all maximized or
none of them are. As soon as one of your child forms maximizes, so do all
the others. You'll see this in any MDI application you can find without
exception (to the best of my knowledge).

The only way you can stop this is to have some of your forms set as
non-MDI-child forms, but of course the behaviour of the windows will be
different then as they will float in front of the MDI parent instead of
being contained within it.

--

(O)enone
Mar 2 '06 #2
Explicitly set the windowstate property of the called window to normal in
its own load event.
That should do the trick.

"philip" <ph**@philippe.com> wrote in message
news:44***********************@news.wanadoo.fr...
If the main window of my application is maximized, all the windows call by
program (it is not a mdi application) open themselves maximized.
The window called by the main window has this code for its Load event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)
Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub

In spite of this code, if the calling window is maximized, the called
window is maximized.

If the main window is not maximized, then all is good.

Which property of the called window must I change to avoid this problem ?

Thanks for response.

Mar 3 '06 #3
"philip" <ph**@philippe.com> schrieb
If the main window of my application is maximized, all the windows
call by program (it is not a mdi application) open themselves
maximized.
The window called by the main window has this code for its Load
event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)
Where did you declare "Form1"? Shouldn't this be "Me.size = ..."?
Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub

Armin
Mar 3 '06 #4
Explicitly set the windowstate property of the called window to normal in
its own load event.
That should do the trick.

"philip" <ph**@philippe.com> wrote in message
news:44***********************@news.wanadoo.fr...
If the main window of my application is maximized, all the windows call by
program (it is not a mdi application) open themselves maximized.
The window called by the main window has this code for its Load event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)
Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub

In spite of this code, if the calling window is maximized, the called
window is maximized.

If the main window is not maximized, then all is good.

Which property of the called window must I change to avoid this problem ?

Thanks for response.

Mar 3 '06 #5
BUT my application is not a MDI application...

Thanks for your attention
"Oenone" <oe****@nowhere.com> a écrit dans le message de news:
8M*******************@newsfe2-gui.ntli.net...
philip wrote:
Which property of the called window must I change to avoid this
problem ?


I don't think you can change this.

The behaviour of MDI child forms is that they are either all maximized or
none of them are. As soon as one of your child forms maximizes, so do all
the others. You'll see this in any MDI application you can find without
exception (to the best of my knowledge).

The only way you can stop this is to have some of your forms set as
non-MDI-child forms, but of course the behaviour of the windows will be
different then as they will float in front of the MDI parent instead of
being contained within it.

--

(O)enone

Mar 3 '06 #6
Yes, it is 'Me.Size'.
Thank you for your interest.

Philip
"Armin Zingler" <az*******@freenet.de> a écrit dans le message de news:
Ou**************@TK2MSFTNGP10.phx.gbl...
"philip" <ph**@philippe.com> schrieb
If the main window of my application is maximized, all the windows
call by program (it is not a mdi application) open themselves
maximized.
The window called by the main window has this code for its Load
event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)


Where did you declare "Form1"? Shouldn't this be "Me.size = ..."?
Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub

Armin

Mar 3 '06 #7
Philip,

I think that if you answer the reply from Armin it is much easier to answer.

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:44***********************@news.wanadoo.fr...
BUT my application is not a MDI application...

Thanks for your attention
"Oenone" <oe****@nowhere.com> a écrit dans le message de news:
8M*******************@newsfe2-gui.ntli.net...
philip wrote:
Which property of the called window must I change to avoid this
problem ?


I don't think you can change this.

The behaviour of MDI child forms is that they are either all maximized or
none of them are. As soon as one of your child forms maximizes, so do all
the others. You'll see this in any MDI application you can find without
exception (to the best of my knowledge).

The only way you can stop this is to have some of your forms set as
non-MDI-child forms, but of course the behaviour of the windows will be
different then as they will float in front of the MDI parent instead of
being contained within it.

--

(O)enone


Mar 3 '06 #8
I changes my way.
Now, I set the property of the called window in the calling window.
Here is the code :

ShowOneImage.WindowState = FormWindowState.Normal
ShowOneImage.Show()
ShowOneImage.WindowState = FormWindowState.Normal
ShowOneImage.BackgroundImage = ImageFromFile ("XXX.Jpg")
ShowOneImage.AutoScaleMode = Windows.Forms.AutoScaleMode.None
ShowOneImage.Size = New
System.Drawing.Size(ShowOneImage.BackgroundImage.W idth,
ShowOneImage.BackgroundImage.Height)
ShowOneImage.Height = ShowOneImage.BackgroundImage.Size.Height
ShowOneImage.Width = ShowOneImage.BackgroundImage.Size.Width
ShowOneImage.Text = Me.Titre_originalTextBox.Text

As you can see, I take all precautions, setting twice
'FormWindowState.Normal', before and after the opening of called window.
I have always the same problem. If the calling window is maximized, the
called window is maximized.

But, curious, that doesn't happen in debug mode.
Only if I launch the rebuilded '.exe' file of the application...
I don't know what I must do...

Thanks for interesting yourself to my problem.

Philip


"Martin" <x@y.com> a écrit dans le message de news:
Ol**************@TK2MSFTNGP09.phx.gbl...
Explicitly set the windowstate property of the called window to normal in
its own load event.
That should do the trick.

"philip" <ph**@philippe.com> wrote in message
news:44***********************@news.wanadoo.fr...
If the main window of my application is maximized, all the windows call
by program (it is not a mdi application) open themselves maximized.
The window called by the main window has this code for its Load event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)
Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub

In spite of this code, if the calling window is maximized, the called
window is maximized.

If the main window is not maximized, then all is good.

Which property of the called window must I change to avoid this problem ?

Thanks for response.


Mar 3 '06 #9
Philip,

Ok then

Have a look at this, where in the given sample needs to be of course
formwindowstate.normal

http://msdn.microsoft.com/library/de...statetopic.asp

I hope this helps,

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:44***********************@news.wanadoo.fr...
Yes, it is 'Me.Size'.
Thank you for your interest.

Philip
"Armin Zingler" <az*******@freenet.de> a écrit dans le message de news:
Ou**************@TK2MSFTNGP10.phx.gbl...
"philip" <ph**@philippe.com> schrieb
If the main window of my application is maximized, all the windows
call by program (it is not a mdi application) open themselves
maximized.
The window called by the main window has this code for its Load
event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)


Where did you declare "Form1"? Shouldn't this be "Me.size = ..."?
Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub

Armin


Mar 3 '06 #10
"philip" <ph**@philippe.com> schrieb
I changes my way.
Now, I set the property of the called window in the calling window.
Here is the code :

ShowOneImage.WindowState = FormWindowState.Normal
ShowOneImage.Show()
ShowOneImage.WindowState = FormWindowState.Normal
ShowOneImage.BackgroundImage = ImageFromFile ("XXX.Jpg")
ShowOneImage.AutoScaleMode = Windows.Forms.AutoScaleMode.None
ShowOneImage.Size = New
System.Drawing.Size(ShowOneImage.BackgroundImage.W idth,
ShowOneImage.BackgroundImage.Height)
ShowOneImage.Height =
ShowOneImage.BackgroundImage.Size.Height ShowOneImage.Width =
ShowOneImage.BackgroundImage.Size.Width ShowOneImage.Text =
Me.Titre_originalTextBox.Text

As you can see, I take all precautions, setting twice
'FormWindowState.Normal', before and after the opening of called
window. I have always the same problem. If the calling window is
maximized, the called window is maximized.

But, curious, that doesn't happen in debug mode.
Only if I launch the rebuilded '.exe' file of the application... I
don't know what I must do...

Thanks for interesting yourself to my problem.

What's the value of the Startposition property? Should be "Manual", I guess.

Armin

Mar 3 '06 #11
For me, there is a problem.
Try this :
Create a form, on which you add a Button1.
Copy the following code :

Public Class Form11
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim bottomForm As New Form()
Dim topMostForm As New Form()
' Set the size of the form larger than the default size.
topMostForm.Size = New Size(300, 300)
' Set the position of the top most form to center of screen.
topMostForm.StartPosition = FormStartPosition.CenterScreen
' Display the form as top most form.
topMostForm.TopMost = True
topMostForm.WindowState = FormWindowState.Normal
topMostForm.Show()
End Sub
End Class

Launch by Menu 'Debug/Start debugging'
All is good. The starting window can be maximized or normal, no problem the
second window appears 'FormWindowState.Normal'.

But now, launch menu 'Build/Rebuild' and launch the '.exe' program build in
'\bin\release' directory of the application.
Maximize the first window. Click on button1 : the TopMostForm appears
'Maximized'.
If you launch the 'exe' file another time and you minimize the first window
at the beginning of program, before you click on Button1, then the
TopMostForm appears 'Normal', in its asked (300,300) size

Personnally, other problem, when I launch the program, the first window
appears ALWAYS 'Maximized'.
I am obliged to give 'False' to the 'MaximizeBox' property. That avoid the
maximization of the main window using the '.exe' file. But it's not
interesting...

Thanks for your interest, sincerely.

Philip

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: %2****************@TK2MSFTNGP11.phx.gbl...
Philip,

Ok then

Have a look at this, where in the given sample needs to be of course
formwindowstate.normal

http://msdn.microsoft.com/library/de...statetopic.asp

I hope this helps,

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:44***********************@news.wanadoo.fr...
Yes, it is 'Me.Size'.
Thank you for your interest.

Philip
"Armin Zingler" <az*******@freenet.de> a écrit dans le message de news:
Ou**************@TK2MSFTNGP10.phx.gbl...
"philip" <ph**@philippe.com> schrieb
If the main window of my application is maximized, all the windows
call by program (it is not a mdi application) open themselves
maximized.
The window called by the main window has this code for its Load
event :
Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
Me.BackgroundImage = ImageFromFile("xxx.jpg")
Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
Me.BackgroundImage.Height)

Where did you declare "Form1"? Shouldn't this be "Me.size = ..."?

Me.Height = Me.BackgroundImage.Size.Height
Me.Width = Me.BackgroundImage.Size.Width
End sub
Armin




Mar 3 '06 #12
I had not seen your response.

StartPosition is on 'WindowsDefaultLocation'

Thanks for listening to me


"Armin Zingler" <az*******@freenet.de> a écrit dans le message de news:
Oi**************@TK2MSFTNGP12.phx.gbl...
"philip" <ph**@philippe.com> schrieb
I changes my way.
Now, I set the property of the called window in the calling window.
Here is the code :

ShowOneImage.WindowState = FormWindowState.Normal
ShowOneImage.Show()
ShowOneImage.WindowState = FormWindowState.Normal
ShowOneImage.BackgroundImage = ImageFromFile ("XXX.Jpg")
ShowOneImage.AutoScaleMode = Windows.Forms.AutoScaleMode.None
ShowOneImage.Size = New
System.Drawing.Size(ShowOneImage.BackgroundImage.W idth,
ShowOneImage.BackgroundImage.Height)
ShowOneImage.Height =
ShowOneImage.BackgroundImage.Size.Height ShowOneImage.Width =
ShowOneImage.BackgroundImage.Size.Width ShowOneImage.Text =
Me.Titre_originalTextBox.Text

As you can see, I take all precautions, setting twice
'FormWindowState.Normal', before and after the opening of called
window. I have always the same problem. If the calling window is
maximized, the called window is maximized.

But, curious, that doesn't happen in debug mode.
Only if I launch the rebuilded '.exe' file of the application... I
don't know what I must do...

Thanks for interesting yourself to my problem.

What's the value of the Startposition property? Should be "Manual", I
guess.

Armin

Mar 3 '06 #13
Philip,

How can this code affect the first form, did you not set by accident in the
form designer properties to start it as maximised form.

You will not be the first.

I hope this helps,

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:44***********************@news.wanadoo.fr...
For me, there is a problem.
Try this :
Create a form, on which you add a Button1.
Copy the following code :

Public Class Form11
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim bottomForm As New Form()
Dim topMostForm As New Form()
' Set the size of the form larger than the default size.
topMostForm.Size = New Size(300, 300)
' Set the position of the top most form to center of screen.
topMostForm.StartPosition = FormStartPosition.CenterScreen
' Display the form as top most form.
topMostForm.TopMost = True
topMostForm.WindowState = FormWindowState.Normal
topMostForm.Show()
End Sub
End Class

Launch by Menu 'Debug/Start debugging'
All is good. The starting window can be maximized or normal, no problem
the second window appears 'FormWindowState.Normal'.

But now, launch menu 'Build/Rebuild' and launch the '.exe' program build
in '\bin\release' directory of the application.
Maximize the first window. Click on button1 : the TopMostForm appears
'Maximized'.
If you launch the 'exe' file another time and you minimize the first
window at the beginning of program, before you click on Button1, then the
TopMostForm appears 'Normal', in its asked (300,300) size

Personnally, other problem, when I launch the program, the first window
appears ALWAYS 'Maximized'.
I am obliged to give 'False' to the 'MaximizeBox' property. That avoid the
maximization of the main window using the '.exe' file. But it's not
interesting...

Thanks for your interest, sincerely.

Philip

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: %2****************@TK2MSFTNGP11.phx.gbl...
Philip,

Ok then

Have a look at this, where in the given sample needs to be of course
formwindowstate.normal

http://msdn.microsoft.com/library/de...statetopic.asp

I hope this helps,

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:44***********************@news.wanadoo.fr...
Yes, it is 'Me.Size'.
Thank you for your interest.

Philip
"Armin Zingler" <az*******@freenet.de> a écrit dans le message de news:
Ou**************@TK2MSFTNGP10.phx.gbl...
"philip" <ph**@philippe.com> schrieb
> If the main window of my application is maximized, all the windows
> call by program (it is not a mdi application) open themselves
> maximized.
> The window called by the main window has this code for its Load
> event :
>
>
> Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e
> As System.EventArgs) Handles MyBase.Load
> Me.BackgroundImage = ImageFromFile("xxx.jpg")
> Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
> Me.BackgroundImage.Height)

Where did you declare "Form1"? Shouldn't this be "Me.size = ..."?

> Me.Height = Me.BackgroundImage.Size.Height
> Me.Width = Me.BackgroundImage.Size.Width
> End sub
Armin



Mar 4 '06 #14
"philip" <ph**@philippe.com> schrieb
For me, there is a problem.
Try this :
Create a form, on which you add a Button1.
Copy the following code :

Public Class Form11
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Dim bottomForm As New Form()
Dim topMostForm As New Form()
' Set the size of the form larger than the default size.
topMostForm.Size = New Size(300, 300)
' Set the position of the top most form to center of screen.
topMostForm.StartPosition = FormStartPosition.CenterScreen
' Display the form as top most form.
topMostForm.TopMost = True
topMostForm.WindowState = FormWindowState.Normal
topMostForm.Show()
End Sub
End Class

Launch by Menu 'Debug/Start debugging'
All is good. The starting window can be maximized or normal, no
problem the second window appears 'FormWindowState.Normal'.

But now, launch menu 'Build/Rebuild' and launch the '.exe' program
build in '\bin\release' directory of the application.
Maximize the first window. Click on button1 : the TopMostForm
appears 'Maximized'.

I can not reproduce this. It appears Normal, not Maximized.

Can you send me a small zipped(!) sample project? Insert a "_" between "no"
and "spam" in my email address.
Armin

Mar 4 '06 #15
I send an zipped sample of the app to Armin Zingler to show the problem (he
asked me to do that)
Thanks
Philip

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message de
news: uu**************@TK2MSFTNGP09.phx.gbl...
Philip,

How can this code affect the first form, did you not set by accident in
the form designer properties to start it as maximised form.

You will not be the first.

I hope this helps,

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:44***********************@news.wanadoo.fr...
For me, there is a problem.
Try this :
Create a form, on which you add a Button1.
Copy the following code :

Public Class Form11
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim bottomForm As New Form()
Dim topMostForm As New Form()
' Set the size of the form larger than the default size.
topMostForm.Size = New Size(300, 300)
' Set the position of the top most form to center of screen.
topMostForm.StartPosition = FormStartPosition.CenterScreen
' Display the form as top most form.
topMostForm.TopMost = True
topMostForm.WindowState = FormWindowState.Normal
topMostForm.Show()
End Sub
End Class

Launch by Menu 'Debug/Start debugging'
All is good. The starting window can be maximized or normal, no problem
the second window appears 'FormWindowState.Normal'.

But now, launch menu 'Build/Rebuild' and launch the '.exe' program build
in '\bin\release' directory of the application.
Maximize the first window. Click on button1 : the TopMostForm appears
'Maximized'.
If you launch the 'exe' file another time and you minimize the first
window at the beginning of program, before you click on Button1, then the
TopMostForm appears 'Normal', in its asked (300,300) size

Personnally, other problem, when I launch the program, the first window
appears ALWAYS 'Maximized'.
I am obliged to give 'False' to the 'MaximizeBox' property. That avoid
the maximization of the main window using the '.exe' file. But it's not
interesting...

Thanks for your interest, sincerely.

Philip

"Cor Ligthert [MVP]" <no************@planet.nl> a écrit dans le message
de
news: %2****************@TK2MSFTNGP11.phx.gbl...
Philip,

Ok then

Have a look at this, where in the given sample needs to be of course
formwindowstate.normal

http://msdn.microsoft.com/library/de...statetopic.asp

I hope this helps,

Cor

"philip" <ph**@philippe.com> schreef in bericht
news:44***********************@news.wanadoo.fr...
Yes, it is 'Me.Size'.
Thank you for your interest.

Philip
"Armin Zingler" <az*******@freenet.de> a écrit dans le message de news:
Ou**************@TK2MSFTNGP10.phx.gbl...
> "philip" <ph**@philippe.com> schrieb
>> If the main window of my application is maximized, all the windows
>> call by program (it is not a mdi application) open themselves
>> maximized.
>> The window called by the main window has this code for its Load
>> event :
>>
>>
>> Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e
>> As System.EventArgs) Handles MyBase.Load
>> Me.BackgroundImage = ImageFromFile("xxx.jpg")
>> Form1.Size = New System.Drawing.Size(Me.BackgroundImage.Width,
>> Me.BackgroundImage.Height)
>
> Where did you declare "Form1"? Shouldn't this be "Me.size = ..."?
>
>> Me.Height = Me.BackgroundImage.Size.Height
>> Me.Width = Me.BackgroundImage.Size.Width
>> End sub
>
>
> Armin



Mar 4 '06 #16
"philip" <ph**@philippe.com> schrieb
I send an zipped sample of the app to Armin Zingler to show the
problem (he asked me to do that)

....and Armin answered:

"I can not reproduce the problem. I do it exactly as you described. Neither
the 1st nor the 2nd window is ever opened maximized."
Armin

Mar 4 '06 #17
Is it possible that is a problem of my computer, which has an RADEON X800
GTO card, with two screens ?
Is it interressing to look at the options of the driver ?

Thanks for response

Philip

"Armin Zingler" <az*******@freenet.de> a écrit dans le message de news:
%2***************@TK2MSFTNGP12.phx.gbl...
"philip" <ph**@philippe.com> schrieb
For me, there is a problem.
Try this :
Create a form, on which you add a Button1.
Copy the following code :

Public Class Form11
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Dim bottomForm As New Form()
Dim topMostForm As New Form()
' Set the size of the form larger than the default size.
topMostForm.Size = New Size(300, 300)
' Set the position of the top most form to center of screen.
topMostForm.StartPosition = FormStartPosition.CenterScreen
' Display the form as top most form.
topMostForm.TopMost = True
topMostForm.WindowState = FormWindowState.Normal
topMostForm.Show()
End Sub
End Class

Launch by Menu 'Debug/Start debugging'
All is good. The starting window can be maximized or normal, no
problem the second window appears 'FormWindowState.Normal'.

But now, launch menu 'Build/Rebuild' and launch the '.exe' program
build in '\bin\release' directory of the application.
Maximize the first window. Click on button1 : the TopMostForm
appears 'Maximized'.

I can not reproduce this. It appears Normal, not Maximized.

Can you send me a small zipped(!) sample project? Insert a "_" between
"no"
and "spam" in my email address.
Armin

Mar 5 '06 #18

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: pauldepstein | last post by:
I am reading Grimshaw and Ortega's "C++ and Numerical Methods." They construct a vector class which contains the variable vec, a float* variable where the length of the array (number of...
6
by: DH | last post by:
I have a VERY basic question about figuring database size. I've inherited a database which is generally similar to this basic one: Item, Red, Blue, Green, Yellow (text), (int),(int),(int),(int)...
9
by: Malcolm | last post by:
After some days' hard work I am now the proud possessor of an ANSI C BASIC interpreter. The question is, how is it most useful? At the moment I have a function int basic(const char *script,...
4
by: Ramesh | last post by:
hi, Let me ask some basic questions. Can anybody explain me about the following questions: 1. When we have to create sn key? Whenever we compiled Component we have to create or it is a one time...
13
by: Pete | last post by:
I'm cross posting from mscom.webservices.general as I have received no answer there: There has been a number of recent posts requesting how to satisfactorily enable BASIC authorization at the...
5
by: Aussie Rules | last post by:
Hi, Having a mental block on this one. Have done it before but can't rack my brain on how... I have an object, with a bunch on property, and I add that object to a combo box. I want the...
4
by: MikeB | last post by:
I've been all over the net with this question, I hope I've finally found a group where I can ask about Visual Basic 2005. I'm at uni and we're working with Visual Basic 2005. I have some books, ...
1
by: frankhanretty | last post by:
Do I have to install Visual basic on the remote terminals as I did on the server? I have an visual basic 5 application running fine on my client's server and he is now networked. He wants to run the...
4
by: Chris Asaipillai | last post by:
Hi there My compay has a number of Visual Basic 6 applications which are front endeed onto either SQL Server or Microsoft Access databases. Now we are in process of planning to re-write these...
3
by: Scott Stark | last post by:
Hello, I'm trying to get a better handle on OOP programming principles in VB.NET. Forgive me if this question is sort of basic, but here's what I want to do. I have a collection of Employee...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.