Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
B83.Win32.Window Class Reference

Public Member Functions

static bool EnumThreadWindows (uint dwThreadId, EnumThreadDelegate lpfn, IntPtr lParam)
 
static bool GetWindowRect (IntPtr hwnd, out RECT lpRect)
 
static bool IsWindowVisible (IntPtr hWnd)
 

Static Public Member Functions

static string GetClassName (IntPtr hWnd)
 
static string GetWindowText (IntPtr hWnd)
 

Private Member Functions

static int GetClassName (IntPtr hWnd, StringBuilder lpClassName, int nMaxCount)
 
static int GetWindowTextLength (IntPtr hWnd)
 
static int GetWindowText (IntPtr hWnd, StringBuilder lpString, int nMaxCount)
 

Detailed Description

Definition at line 7 of file Window.cs.

Member Function Documentation

◆ EnumThreadWindows()

static bool B83.Win32.Window.EnumThreadWindows ( uint  dwThreadId,
EnumThreadDelegate  lpfn,
IntPtr  lParam 
)

◆ GetClassName() [1/2]

static string B83.Win32.Window.GetClassName ( IntPtr  hWnd)
inlinestatic

Definition at line 21 of file Window.cs.

22 {
23 StringBuilder stringBuilder = new StringBuilder(256);
24 int className = GetClassName(hWnd, stringBuilder, 256);
25 return stringBuilder.ToString(0, className);
26 }
static int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount)

References B83.Win32.Window.GetClassName().

◆ GetClassName() [2/2]

static int B83.Win32.Window.GetClassName ( IntPtr  hWnd,
StringBuilder  lpClassName,
int  nMaxCount 
)
private

◆ GetWindowRect()

static bool B83.Win32.Window.GetWindowRect ( IntPtr  hwnd,
out RECT  lpRect 
)

◆ GetWindowText() [1/2]

static string B83.Win32.Window.GetWindowText ( IntPtr  hWnd)
inlinestatic

Definition at line 34 of file Window.cs.

35 {
36 int num = GetWindowTextLength(hWnd) + 2;
37 StringBuilder stringBuilder = new StringBuilder(num);
38 int windowText = GetWindowText(hWnd, stringBuilder, num);
39 return stringBuilder.ToString(0, windowText);
40 }
static int GetWindowTextLength(IntPtr hWnd)
static int GetWindowText(IntPtr hWnd, StringBuilder lpString, int nMaxCount)

References B83.Win32.Window.GetWindowText(), and B83.Win32.Window.GetWindowTextLength().

◆ GetWindowText() [2/2]

static int B83.Win32.Window.GetWindowText ( IntPtr  hWnd,
StringBuilder  lpString,
int  nMaxCount 
)
private

◆ GetWindowTextLength()

static int B83.Win32.Window.GetWindowTextLength ( IntPtr  hWnd)
private

◆ IsWindowVisible()

static bool B83.Win32.Window.IsWindowVisible ( IntPtr  hWnd)

The documentation for this class was generated from the following file: