Hi,
I have on form MenuBar, Toolbar, and Grid control.
Form property is set to form opens as Maximized.
Form maximizes through whole screen, but I don't see bottom part of grid,
because TaskBar (of Windows) is above grid. Why form maximizes below
Taskbar?
How to maximize form so that form is resized to Taskbar, but not further,
because bottom part of form will be below Taskbar?
I hope I explained well. Your help is appreciated.
Thanks,
Marco 13 1919
I had once the same problem.
Solution was to disable "autohide" feaure of windows taskbar.
PK
>I had once the same problem. Solution was to disable "autohide" feaure of windows taskbar.
I don't know if it is good solution.
There is option Keep the Taskbar on top of other Windows, and it is
logically to be enabled, because user can switch from one program to
another.
It is not good to disable this for user.
Is there some other way to do make this work, probably there is.
If someone can give more advise to this.
Thanks
Addition to previous replies, is there a way to find out TaskBar Height.
Then, we could set Form_Resize = Screen.Height - Taskbar.Height
What do you think?
Thanks I had once the same problem. Solution was to disable "autohide" feaure of windows taskbar.
I don't know if it is good solution. There is option Keep the Taskbar on top of other Windows, and it is logically to be enabled, because user can switch from one program to another. It is not good to disable this for user.
Is there some other way to do make this work, probably there is.
If someone can give more advise to this.
Thanks
It's not good solution.
There always must be better.
Click menu start/settings/taskbar and menu start
There is an opt. autohide taskbar.
Try to play with it.
> Click menu start/settings/taskbar and menu start There is an opt. autohide taskbar.
Try to play with it.
Yes, but I don't want to change user preferences. Is user likes to have
Taskbar on top, I don't want to change it.
There is solution to show form maximized to working area and I think it is
good solution, but if user moves Taskbar or changes height, then it will not
display ok.
Thanks
"John" <Jo*****@hotmail.com> wrote in message
news:ds**********@ss405.t-com.hr... Click menu start/settings/taskbar and menu start There is an opt. autohide taskbar.
Try to play with it.
Yes, but I don't want to change user preferences. Is user likes to have Taskbar on top, I don't want to change it. There is solution to show form maximized to working area and I think it is good solution, but if user moves Taskbar or changes height, then it will not display ok.
Thanks
You're looking at this the wrong way round. If the user has an autohide
task bar, they have chosen - and will expect - the taskbar to cover the edge
of maximized applications when it emerges from hiding. This is normal, it
would arguably be bad design to try to interfere with it.
> You're looking at this the wrong way round. If the user has an autohide task bar, they have chosen - and will expect - the taskbar to cover the edge of maximized applications when it emerges from hiding. This is normal, it would arguably be bad design to try to interfere with it.
Yes, but what if user has enabled option Keep Taskbar on top of the other
windows, which is default option in Windows, how will you make that form
resize ok?
Thanks
John wrote: You're looking at this the wrong way round. If the user has an autohide task bar, they have chosen - and will expect - the taskbar to cover the edge of maximized applications when it emerges from hiding. This is normal, it would arguably be bad design to try to interfere with it.
Yes, but what if user has enabled option Keep Taskbar on top of the other windows, which is default option in Windows, how will you make that form resize ok?
Thanks
hi,
switch design view and set the window start position to maximized then
disable the maximize of your form. Run it. You will see it on the
taskbar. OK?
> switch design view and set the window start position to maximized then disable the maximize of your form. Run it. You will see it on the taskbar. OK?
No, I don't have window start position option Maximize. I am using VB 2005.
Can you specify exactly what properties to choose?
Thanks
oops sory,
property is Window State. you will see maximized item in the list.
> property is Window State. you will see maximized item in the list.
I think it is not solution, please read post from beginning.
Thanks
John wrote: Hi,
I have on form MenuBar, Toolbar, and Grid control. Form property is set to form opens as Maximized.
Form maximizes through whole screen, but I don't see bottom part of grid, because TaskBar (of Windows) is above grid. Why form maximizes below Taskbar? How to maximize form so that form is resized to Taskbar, but not further, because bottom part of form will be below Taskbar?
I hope I explained well. Your help is appreciated.
Thanks, Marco
The answer (i think) you are looking for is:
this.MaximizedBounds = SystemInformation.WorkingArea;
That tells your window how much room to take up when it is maximised.
The working area is the whole desktop minus the taskbar.
HTH This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: sameer |
last post by:
Hi,
My application is using VS2003 , VB.Net with Sql server 2000. The
application has an MDI environment with several MDI child forms in the main
MDI form. At times , just at times due to dont...
|
by: TTD |
last post by:
Hi,
I have a form (formA) which is maximized. On that form I have a button which
opens formB in restore-mode. But when I leave formB, I don't get formA
maximized on the foreground, but it's the...
|
by: Brian Keanie |
last post by:
Thanks for last response.
Same database ...... have a form and a subform. On the subform I have a
button which opens another form to give info as to input. When I return to
main form and subform...
|
by: Brandon |
last post by:
Hello there.
I'm currently working on a moderately complex Visual C# windows application
that I have run into a bit of a problem on. To start things off, the
application has normally been run...
|
by: kaosyeti |
last post by:
what's the best way to get a form to always open at a specific size. i've
sized and saved the forms, changed the borders and had popup on and off all
over but can't seem to get it to stay one way...
| |
by: jerry.ranch |
last post by:
Hi
I'm trying to figure out how to center forms on a page
I have a form built with some tabbed pages, and I'm playing with the
form properties, but it always displays top and left and not centered...
|
by: Duncan |
last post by:
Hi
I'm learning c# 2.0 as I feel I need to be able to switch between vb & c#,
I'm just starting with a few simple examples and I've come across a problem.
I've got two forms ones an MDI parent &...
|
by: insomniux |
last post by:
Hi,
I have an Access 2000 database with one main form in which all subforms
are embedded. In this form I have a timer which closes the form,
detaches the linked (ODBC) tables and reopens the same...
|
by: Mrozu |
last post by:
Hi
When I maximize a form in VB.Net 2003 the bottom of the form gets
hidden
by the start bar (so my status bar is invisible). How can I get my app
to maximize to the usable screen area above...
|
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...
|
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:
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: 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: 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.
|
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...
| |