Desktop Functions: Smart Device Functions:
|
SwitchToThisWindow (user32)
C# Signature:
[DllImport("user32.dll", SetLastError=true)] VB Signature:
Declare Sub SwitchToThisWindow Lib "user32.dll" ( _ Notes:Set fAltTab to true if you want it to work well for switching between applications. Otherwise won't work if application you're switching to is minimized. Note that this function is deprecated and not intended for general use according to MSDN. Tips & Tricks:Please add some! Sample Code:
static void Main() Please add some!
Process procCurrent = Process.GetCurrentProcess(); Alternative Managed API:Do you know one? Please contribute it!
/* check if program is already running */ Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|