By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 1,960 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

keep my application on the top

P: n/a
Hi, Group

I am C# and VB.6 programmer but in this moments I have the followin
question:

How Can I keep my application on the top of all applications on my Windows
desktop.

Please let me know

Best regard
MArio

Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Mario Reiley" <mr*****@cantv.net> wrote in message
news:OB**************@TK2MSFTNGP09.phx.gbl...
Hi, Group

I am C# and VB.6 programmer but in this moments I have the followin
question:

How Can I keep my application on the top of all applications on my Windows
desktop.


SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE SWP_NOSIZE |
SWP_NOACTIVATE);

--

-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-g*******@mvps.org

Jul 21 '05 #2

P: n/a
Cor
Hi Mario,

In dotNet

this.TopMost=true;

(me.TopMost = true)

I hope this helps,

Cor

I am C# and VB.6 programmer but in this moments I have the followin
question:

How Can I keep my application on the top of all applications on my Windows
desktop.

Please let me know

Jul 21 '05 #3

P: n/a
Thanks......

MArio

"Mario Reiley" <mr*****@cantv.net> escribió en el mensaje
news:OB**************@TK2MSFTNGP09.phx.gbl...
Hi, Group

I am C# and VB.6 programmer but in this moments I have the followin
question:

How Can I keep my application on the top of all applications on my Windows
desktop.

Please let me know

Best regard
MArio

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.