473,385 Members | 1,449 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,385 software developers and data experts.

Dock my form on the desktop??

Hi,

In the buttom of my mesktop, I have the processbar (hope that it's
called processbar, because I translated it from Danish).

If I maximize an application, the processbar is always visible.

Now I want to make my form act like the processbar and dock to the left
side of the desktop, so if the user maximizes an application then the
processbar and my form will always be visible.

(If you know "radio@netscape plus" then if you minimize it, it does
excatly what I want to do).

Hope you understand what I mean (I want to "owe" a space on the desktop :o).

Thanks in advance!
M O J O

Nov 22 '05 #1
2 2413
Hi M O J O,

Thanks for your post. You can use the SystemParametersInfo API by
specifying SPI_SETWORKAREA to shrink the available area for other
applications. Please refer to MSDN article on SystemParametersInfo:

SystemParametersInfo
http://msdn.microsoft.com/library/de...us/sysinfo/bas
e/systemparametersinfo.asp

For .NET managed application, you can call this API via Platform Invoke as
described in the article below:

Consuming Unmanaged DLL Functions
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconconsumingunmanageddllfunctions.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #2
Hi M O J O,

Thanks for your post. You can use the SystemParametersInfo API by
specifying SPI_SETWORKAREA to shrink the available area for other
applications. Please refer to MSDN article on SystemParametersInfo:

SystemParametersInfo
http://msdn.microsoft.com/library/de...us/sysinfo/bas
e/systemparametersinfo.asp

For .NET managed application, you can call this API via Platform Invoke as
described in the article below:

Consuming Unmanaged DLL Functions
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconconsumingunmanageddllfunctions.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #3

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

Similar topics

1
by: M O J O | last post by:
Hi, In the buttom of my mesktop, I have the processbar (hope that it's called processbar, because I translated it from Danish). If I maximize an application, the processbar is always visible....
2
by: James | last post by:
I have a forms application which has many controls such as buttons,labels,listviews,text boxes etc. If you set the window size to maximum size so that it would expand to the size of the screen the...
2
by: Bill English | last post by:
Does anyone know how to dock a window on the desktop? A good example is AOL Instant Messenger. It has the option to dock on the desktop. When docked, it takes the sizable tool FormBorderStyle. ...
4
by: zav | last post by:
Hi all i`m having a small problem with windows forms, i`m attempting to provide the following functionality to a form. Ability to drag and drop another form onto a form and then to dock this...
2
by: Agnes | last post by:
I got one progress bar , one panel in my form. First , I put the progress bar at the bottom of the form and set "dock" to bottom. It runs very well. then, I put the panel in the form (set the dock...
0
by: A_PK | last post by:
Hi I got the following environment.......Form1 and inside Form1, got Panel1.... I also got another new Form ...named Form2... Form1, Panel1 Form2 Inside Form1, I click a button to show Form2...
2
by: Usarian Skiff | last post by:
Anyone know how to dock a form to the desktop? To clarify, I want my form to be fixed to the top of the screen, and all maximized forms to not cover up my form or be covered up by my form....
7
by: Zytan | last post by:
I just wanted a little practice with the WebBrowser control, so I did the VB guided tour example here in C#: http://msdn2.microsoft.com/en-us/library/a08t4ke7(VS.80).aspx The tutorial asks to put...
4
by: adrian.bennett | last post by:
I am trying to dock a form to the desktop like the taskbar is but I have been unable to figure out how to do this. Can anyone help? Thanks
12
by: Rotsey | last post by:
Hi, I have not had a good answer to this question. I put a menustrip on a form and so it is a main menu in affect. Now I put a webbrowser control on the form and set it dock fill. Of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.