Table of Contents

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
public static void ForceForegroundWindow(IntPtr hWnd)

Parameters

hWnd IntPtr
public static extern uint GetCurrentThreadId()

Returns

uint
public static extern IntPtr GetForegroundWindow()

Returns

IntPtr
public static extern uint GetWindowThreadProcessId(IntPtr hWnd, IntPtr ProcessId)

Parameters

hWnd IntPtr
ProcessId IntPtr

Returns

uint
public static extern bool SetForegroundWindow(IntPtr WindowHandle)

Parameters

WindowHandle IntPtr

Returns

bool
public static extern bool ShowWindowAsync(HandleRef hWnd, int nCmdShow)

Parameters

hWnd HandleRef
nCmdShow int

Returns

bool