Desktop Functions: Smart Device Functions:
|
Search Results for "GetForegroundWindow" in [All]oleacc
Declare Function GetForegroundWindow Lib "user32" () As Int32
Dim hWnd As Int32 = GetForegroundWindow() user322: FindWindow
IntPtr windowHandle = GetForegroundWindow(); 3: FindWindowEx
IntPtr windowHandle = GetForegroundWindow();
private static extern IntPtr GetForegroundWindow();
''' <summary>The GetForegroundWindow function returns a handle to the foreground window.</summary>
Private Shared Function GetForegroundWindow() As IntPtr
Private Declare Function GetForegroundWindow Lib "user32.dll" () As IntPtr
Public Declare Function GetForegroundWindow Lib "user32" () As Long
IntPtr activeWindowHandle = Win32.GetForegroundWindow();
//Optional Win32.GetWindowThreadProcessId(GetForegroundWindow(),out ProcessID) 5: GetWindow
IntPtr pID = GetWindowThreadProcessId(GetForegroundWindow(), IntPtr.Zero);
IntPtr pID = GetWindowThreadProcessId(GetForegroundWindow(), IntPtr.Zero); 7: MoveWindow
internal static extern IntPtr GetForegroundWindow();
id = GetForegroundWindow(); uint foreThread = GetWindowThreadProcessId(GetForegroundWindow(), IntPtr.Zero);
if (GetForegroundWindow() != hWnd) |