Class WindowVisibilityHelper
- Namespace
- IdeaStatiCa.BimApiLink.Utils
- Assembly
- IdeaStatiCa.BimApiLink.dll
public static class WindowVisibilityHelper
Inheritance
-
Inherited Members
-
Methods
public static extern bool AttachThreadInput(uint idAttach, uint idAttachTo, bool fAttach)
Parameters
idAttach
uint
-
idAttachTo
uint
-
fAttach
bool
-
Returns
- bool
-
ForceForegroundWindow(IntPtr)
public static void ForceForegroundWindow(IntPtr hWnd)
Parameters
hWnd
IntPtr
-
GetCurrentThreadId()
public static extern uint GetCurrentThreadId()
Returns
- uint
-
GetForegroundWindow()
public static extern IntPtr GetForegroundWindow()
Returns
- IntPtr
-
GetWindowThreadProcessId(IntPtr, IntPtr)
public static extern uint GetWindowThreadProcessId(IntPtr hWnd, IntPtr ProcessId)
Parameters
hWnd
IntPtr
-
ProcessId
IntPtr
-
Returns
- uint
-
SetForegroundWindow(IntPtr)
public static extern bool SetForegroundWindow(IntPtr WindowHandle)
Parameters
WindowHandle
IntPtr
-
Returns
- bool
-
ShowWindowAsync(HandleRef, int)
public static extern bool ShowWindowAsync(HandleRef hWnd, int nCmdShow)
Parameters
hWnd
HandleRef
-
nCmdShow
int
-
Returns
- bool
-