Re: bring an already running app to the front
- From: "Herfried K. Wagner [MVP]" <hirf-spam-me-here@xxxxxx>
- Date: Tue, 6 Jun 2006 21:01:59 +0200
"Mike S" <mgspross@xxxxxxxxxxxx> schrieb:
Private Declare Function ShowWindow Lib "user32" _
(ByVal hWnd As System.IntPtr, ByVal nCmdShow As Long) As Long
Your declaration is wrong. Use this declaration instead:
\\\
Private Declare Function ShowWindow Lib "user32.dll" ( _
ByVal hWnd As IntPtr, _
ByVal nCmdShow As Int32 _
) As Boolean
Private Const SW_RESTORE As Int32 = 9
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
.
- Follow-Ups:
- Re: bring an already running app to the front
- From: Mike S
- Re: bring an already running app to the front
- From: cj
- Re: bring an already running app to the front
- References:
- bring an already running app to the front
- From: cj
- Re: bring an already running app to the front
- From: Mike S
- bring an already running app to the front
- Prev by Date: Re: Why Me? (Instead of Form1)
- Next by Date: Re: how many ways to bring up a form/window?
- Previous by thread: Re: bring an already running app to the front
- Next by thread: Re: bring an already running app to the front
- Index(es):
Loading