keep my application on the top

  • Thread starter Thread starter Mario Reiley
  • Start date Start date
M

Mario Reiley

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
 
Mario Reiley said:
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
(e-mail address removed)
 
Back
Top