Keeping screen area

  • Thread starter Thread starter Sako
  • Start date Start date
S

Sako

What I am trying to do is to have a form/application I am making
reduce the working screen size by its dimensions. What I mean by this
is that when an application is maximized (MS Word for example), it
will stop expanding at the boundaries of my application. A good
example of this is the Taskbar.

Please note that I am not just talking about an "Always on top" form.

Thank you.
 
I think what you are looking for is called an AppBar and I haven't heard of Windows Forms supporting them, so you're probably going to have to do a lot of PInvoke calls to make this work. Here is an MSDN article that introduces them.

http://msdn.microsoft.com/library/d...e/shell_int/shell_int_programming/appbars.asp

Hope that helps

Jackson Davis [MSFT]
--
This posting is provided "AS IS" with no warranties, and confers no rights
Samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm



----- Sako wrote: -----

What I am trying to do is to have a form/application I am making
reduce the working screen size by its dimensions. What I mean by this
is that when an application is maximized (MS Word for example), it
will stop expanding at the boundaries of my application. A good
example of this is the Taskbar.

Please note that I am not just talking about an "Always on top" form.

Thank you.
 
* (e-mail address removed) (Sako) scripsit:
What I am trying to do is to have a form/application I am making
reduce the working screen size by its dimensions. What I mean by this
is that when an application is maximized (MS Word for example), it
will stop expanding at the boundaries of my application. A good
example of this is the Taskbar.

Fred Balsinger: A Windows Forms Application Desktop Toolbar
<http://www.gotdotnet.com/userfiles/FredB/AppBars.zip>
 
Back
Top