Desktop Functions: Smart Device Functions:
|
getactivewindow (user32)
C# Signature:
[DllImport("user32.dll")] VB.NET Signature:
<DllImport("user32.dll", SetLastError:=True)> _ VB Signature:
Public Declare Function GetActiveWindow Lib "user32.dll" () As Long User-Defined Types:None. Notes:Please add some! Tips & Tricks:Can be used to find the active window Hwnd for GetWindowText Sample Code:Inside a Windows Form:
if (GetActiveWindow() == Handle) { 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). |
|