VB2005
I have an MDI application, which displays modal forms correctly, and starts
up with the MDI form maximized
however for non modal forms behavious is unusual
all forms have MaximizeBox, Minimizebox and ControlBox set to false
and WindowState = Maximized
when the form displays it displays with the same size as in the Form Designer
with a ControlBox, greyed out MinimizeBox and the Maximize box enabled but
showing restore.
scenario one - click restore
the form grows in size( but not full screen) and the Maximize box changes to
show maximize rather than restore
if maximize is clicked the form then appears correctly, maximized with the
MDI form
scenario two - click restore on the application
the application behaves correctly and the form then maximizes correctly
within the MDI form
whats going on here?
*guy* 3 4490
correction:-
in both scenarios the form does not eventually display correctly, a title
bar with controlbox etc appears ***above *** the MDI form menu bar, and also
displays full width, even though the child form is not full width due to a
panel on the MDI Container
"guy" wrote: VB2005
I have an MDI application, which displays modal forms correctly, and starts up with the MDI form maximized
however for non modal forms behavious is unusual all forms have MaximizeBox, Minimizebox and ControlBox set to false and WindowState = Maximized
when the form displays it displays with the same size as in the Form Designer with a ControlBox, greyed out MinimizeBox and the Maximize box enabled but showing restore.
scenario one - click restore the form grows in size( but not full screen) and the Maximize box changes to show maximize rather than restore if maximize is clicked the form then appears correctly, maximized with the MDI form
scenario two - click restore on the application the application behaves correctly and the form then maximizes correctly within the MDI form
whats going on here?
*guy*
To start an MDI child maximized setting the WindowState property of the form
at design time doesn't seem to help. I found that setting the WindowState
property (again) in the Form_Load event of the child form itself solves the
problem.
Guess it's a bug, I heard that the Beta of VB2005 did not have this
behaviour...
"guy" <gu*@discussions.microsoft.com> wrote in message
news:F5**********************************@microsof t.com... correction:- in both scenarios the form does not eventually display correctly, a title bar with controlbox etc appears ***above *** the MDI form menu bar, and also displays full width, even though the child form is not full width due to a panel on the MDI Container
"guy" wrote:
VB2005
I have an MDI application, which displays modal forms correctly, and starts up with the MDI form maximized
however for non modal forms behavious is unusual all forms have MaximizeBox, Minimizebox and ControlBox set to false and WindowState = Maximized
when the form displays it displays with the same size as in the Form Designer with a ControlBox, greyed out MinimizeBox and the Maximize box enabled but showing restore.
scenario one - click restore the form grows in size( but not full screen) and the Maximize box changes to show maximize rather than restore if maximize is clicked the form then appears correctly, maximized with the MDI form
scenario two - click restore on the application the application behaves correctly and the form then maximizes correctly within the MDI form
whats going on here?
*guy*
Thanks Martin, mine must be a different bug!
if i do set the windowState to normal then to maximized it works - sort of!
but it looks horrible
cheers
guy
"Martin" wrote: To start an MDI child maximized setting the WindowState property of the form at design time doesn't seem to help. I found that setting the WindowState property (again) in the Form_Load event of the child form itself solves the problem.
Guess it's a bug, I heard that the Beta of VB2005 did not have this behaviour... "guy" <gu*@discussions.microsoft.com> wrote in message news:F5**********************************@microsof t.com... correction:- in both scenarios the form does not eventually display correctly, a title bar with controlbox etc appears ***above *** the MDI form menu bar, and also displays full width, even though the child form is not full width due to a panel on the MDI Container
"guy" wrote:
VB2005
I have an MDI application, which displays modal forms correctly, and starts up with the MDI form maximized
however for non modal forms behavious is unusual all forms have MaximizeBox, Minimizebox and ControlBox set to false and WindowState = Maximized
when the form displays it displays with the same size as in the Form Designer with a ControlBox, greyed out MinimizeBox and the Maximize box enabled but showing restore.
scenario one - click restore the form grows in size( but not full screen) and the Maximize box changes to show maximize rather than restore if maximize is clicked the form then appears correctly, maximized with the MDI form
scenario two - click restore on the application the application behaves correctly and the form then maximizes correctly within the MDI form
whats going on here?
*guy* This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul Drummond |
last post by:
Hi all,
I am developing software for Linux Redhat9 and I have noticed some very
strange behaviour when throwing exceptions within a shared library.
All our exceptions are derived from...
|
by: Sebastian C. |
last post by:
Hello everybody
Since I upgraded my Office XP Professional to SP3 I got strange
behaviour.
Pieces of code which works for 3 years now are suddenly stop to work
properly.
I have Office XP...
|
by: lauren quantrell |
last post by:
I have an Access 2K popup form to which I have added buttons to run
DoCmd.Maximize
The problem is the form opens full height on the screen, with the
bottom of the form hidden under the Windows...
|
by: Edd Dawson |
last post by:
Hi. I have a strange problem involving the passing of command line
arguments to a C program I'm writing. I tried posting this in
comp.programming yesterday but someone kindly suggested that I'd...
|
by: DeltaOne |
last post by:
#include<stdio.h>
typedef struct test{
int i;
int j;
}test;
main(){
test var;
var.i=10;
var.j=20;
| |
by: Brett Romero |
last post by:
I'm using .NET 2.0. I have an MDI app. When I create the first child
form, it appears in the upper left part of the MDI parent. The MDI
parent is larger than the child. I have the child set to...
|
by: Dox33 |
last post by:
I ran into a very strange behaviour of raw_input().
I hope somebody can tell me how to fix this.
(Or is this a problem in the python source?)
I will explain the problem by using 3 examples....
|
by: =?Utf-8?B?RXJpYw==?= |
last post by:
My program is a call duty planning tool.
It has a splitter with the two panels horizontally split.
The upper panel has a month selector, 3 buttons, 3 labels and a datagridview.
The lower panel has...
|
by: Pilcrow |
last post by:
This behavior seems very strange to me, but I imagine that someone will
be able to 'explain' it in terms of the famous C standard.
-------------------- code -----------------------------------...
|
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: 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...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |