Force application on top (not only TopMost, more toolbar-like)

V

Vincent Mouton

Hi,

I am looking for a way to force an application (windows form) on top of
all running applications. I'm not only talking about TopMost = true ,
but about forcing all other windows to start drawing from the bottom of
that form, as if that form is a toolbar set on top of the screen, or at
the bottom, above the windows toolbar.

In the Constructor of the Form, I'm docking the form on top of the
screen, and defining it's width based on the Bounds.Width property.

this.Dock = DockStyle.Top;
this.Width = Screen.PrimaryScreen.Bounds.Width;

This positions my form as i want it, but of course, all other
applications open on the machine just draw beneath that form.

Is there a way to achieve this?

thank you for any insights,
vincent
 
V

Vincent Mouton

Vincent said:
Hi,

I am looking for a way to force an application (windows form) on top of
all running applications. I'm not only talking about TopMost = true ,
but about forcing all other windows to start drawing from the bottom of
that form, as if that form is a toolbar set on top of the screen, or at
the bottom, above the windows toolbar.

In the Constructor of the Form, I'm docking the form on top of the
screen, and defining it's width based on the Bounds.Width property.

this.Dock = DockStyle.Top;
this.Width = Screen.PrimaryScreen.Bounds.Width;

This positions my form as i want it, but of course, all other
applications open on the machine just draw beneath that form.

Is there a way to achieve this?

thank you for any insights,
vincent

Let me be bad practice and answer my own post:

http://www.gotdotnet.com/userfiles/FredB/AppBars.zip

I searched google in every possible way, except for 'desktop toolbar'.

cheers,
v
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top