I use C# in VS 2005. In my MDI app, if I click on the title bar of a child
form, the form will maximize and the title bar will disappear. I want the app
to do it automatically, when launching a child form, maximize it.
The question is how to do it. Please help and thank you very much. 2 6201
when you open the form open it as being maximized.
or you can just set the WindowState to FormWindowState .Maximized
Cheers,
Greg Young
MVP - C# http://codebetter.com/blogs/gregyoung
"John" <Jo**@discussio ns.microsoft.co mwrote in message
news:0C******** *************** ***********@mic rosoft.com...
>I use C# in VS 2005. In my MDI app, if I click on the title bar of a child
form, the form will maximize and the title bar will disappear. I want the
app
to do it automatically, when launching a child form, maximize it.
The question is how to do it. Please help and thank you very much.
How do you prevent the child from displaying the title bar before it
maximizes? This causes a blinking effect that is not desirable.
"Greg Young" wrote:
when you open the form open it as being maximized.
or you can just set the WindowState to FormWindowState .Maximized
Cheers,
Greg Young
MVP - C# http://codebetter.com/blogs/gregyoung
"John" <Jo**@discussio ns.microsoft.co mwrote in message
news:0C******** *************** ***********@mic rosoft.com...
I use C# in VS 2005. In my MDI app, if I click on the title bar of a child
form, the form will maximize and the title bar will disappear. I want the
app
to do it automatically, when launching a child form, maximize it.
The question is how to do it. Please help and thank you very much.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: w.p. |
last post by:
I use code below:
1) frame receive too many maximize events on create and on close child window - why?
2) how to catch key events for wxMDIParentFrame ?
3) childWin.SetSize() in OnMaximize send additional maximize event (?)
4) wxMDIChildFrame is initially visible!
5) sorry for english :)
6) wxPython 2.5.4.1 (Windows)
################################################################
import wx
|
by: Thomas |
last post by:
I can set the maximizeBox property. But I didn't find a method to maximize a
MDI child form.
So I must do a duoble click at the maximize box.
Anybody know a maximize function or method?
Thank in advance
Thomas
|
by: Paul Welter |
last post by:
I'm building a MDI application that has child forms. I'm trying to find a
way to hide the inner boarder of the child frame area. Setting the
FormBoarderStyle of the child form has no effect.
Also, when the parent form's FormBoarderStyle is set to nothing, then the
child form is maximized, I get the minimize and maximize buttons at the top
of the parent from even though the boarder style is set to none for both
forms. How do I prevent...
|
by: Bill |
last post by:
Hi
I have a parent child forms. I want the close, maximize, and minimize
buttons to be removed.
One the child form I have set the maximize and minimize buttons to false. I
have the child form mamiximze in the parent form. So then the maximized
button is still active. But I want the child form to fill the parent form
without the ability to close minimize or maximize the form like a default
page.
|
by: guy |
last post by:
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
| |
by: neeraj |
last post by:
Hi people's
I developed one MDI application with one MDI form and 2
child forms, form. Border style of first child forms set as Fixed3D and
Window State set as normal (like dialog Box) and maximize button set
false minimize button set false.
My first child form name like FrmClient
I have one another child form which Form Border Style property set as
Fixed3D and
|
by: Brett Romero |
last post by:
I set an MDI child form to Windowstate=maximized at design time. When
I new up and show the child form in the MDI parent, the child's title
is hidden since it's pushed to far up (below parent tool bar). On the
MDI parent, the resize icon is displayed in the top right. That means
the child is maximized right? What doesn't it fill the parent
container area?
When I click the resize icon, the child then jumps to the parent center
and...
|
by: Jassim Rahma |
last post by:
how can I maximize the MDI child in the free MDI parent area not in the
whole window.. I mean in the (whole window area - menubar - tool bar) so i
want the MDi child to show its whole window and caption bar within the MDI
container.
|
by: phpfreak2007 |
last post by:
Hello all,,,
I have created one Application. there are one MDI form and One child.. Initially i set the Window state for both of them to Maximized.. but when i display child form. it shows in Normal Size. but shows the maximize state on the top right with the three button Minimize, restore and Close. I try to maximize it aftter it display, but still it gives same.. can anybody tell me how to solve this??
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |