Class HwndHandling
Inheritance
System.Object
HwndHandling
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Simplic.CoreLib.dll
Syntax
public class HwndHandling
Fields
|
Improve this Doc
View Source
GWL_STYLE
Declaration
public static int GWL_STYLE
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
HWND_BROADCAST
Declaration
public const int HWND_BROADCAST = 65535
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SW_SHOWMAXIMIZED
Declaration
public const int SW_SHOWMAXIMIZED = 3
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SW_SHOWMINIMIZED
Declaration
public const int SW_SHOWMINIMIZED = 2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SW_SHOWNORMAL
Declaration
public const int SW_SHOWNORMAL = 1
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WM_SHOWME
Declaration
public static readonly int WM_SHOWME
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WS_BORDER
Declaration
public static int WS_BORDER
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WS_CAPTION
Declaration
public static int WS_CAPTION
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WS_CHILD
Declaration
public static int WS_CHILD
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WS_DLGFRAME
Declaration
public static int WS_DLGFRAME
Field Value
Type |
Description |
System.Int32 |
|
Methods
FindWindowByCaption(IntPtr, String)
Declaration
public static extern IntPtr FindWindowByCaption(IntPtr ZeroOnly, string lpWindowName)
Parameters
Type |
Name |
Description |
System.IntPtr |
ZeroOnly |
|
System.String |
lpWindowName |
|
Returns
Type |
Description |
System.IntPtr |
|
GetWindowLong(IntPtr, Int32)
Declaration
public static extern int GetWindowLong(IntPtr hWnd, int nIndex)
Parameters
Type |
Name |
Description |
System.IntPtr |
hWnd |
|
System.Int32 |
nIndex |
|
Returns
Type |
Description |
System.Int32 |
|
MoveWindow(IntPtr, Int32, Int32, Int32, Int32, Boolean)
Declaration
public static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint)
Parameters
Type |
Name |
Description |
System.IntPtr |
hWnd |
|
System.Int32 |
X |
|
System.Int32 |
Y |
|
System.Int32 |
nWidth |
|
System.Int32 |
nHeight |
|
System.Boolean |
bRepaint |
|
Returns
Type |
Description |
System.Boolean |
|
PostMessage(IntPtr, Int32, IntPtr, IntPtr)
Declaration
public static extern bool PostMessage(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam)
Parameters
Type |
Name |
Description |
System.IntPtr |
hwnd |
|
System.Int32 |
msg |
|
System.IntPtr |
wparam |
|
System.IntPtr |
lparam |
|
Returns
Type |
Description |
System.Boolean |
|
RegisterWindowMessage(String)
Declaration
public static extern int RegisterWindowMessage(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Returns
Type |
Description |
System.Int32 |
|
SetParent(IntPtr, IntPtr)
Declaration
public static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent)
Parameters
Type |
Name |
Description |
System.IntPtr |
hWndChild |
|
System.IntPtr |
hWndNewParent |
|
Returns
Type |
Description |
System.IntPtr |
|
SetWindowLong(IntPtr, Int32, Int32)
Declaration
public static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong)
Parameters
Type |
Name |
Description |
System.IntPtr |
hWnd |
|
System.Int32 |
nIndex |
|
System.Int32 |
dwNewLong |
|
Returns
Type |
Description |
System.Int32 |
|
SetWindowPos(IntPtr, IntPtr, Int32, Int32, Int32, Int32, Int32)
Declaration
public static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags)
Parameters
Type |
Name |
Description |
System.IntPtr |
hWnd |
|
System.IntPtr |
hWndInsertAfter |
|
System.Int32 |
X |
|
System.Int32 |
Y |
|
System.Int32 |
cx |
|
System.Int32 |
cy |
|
System.Int32 |
uFlags |
|
Returns
Type |
Description |
System.Boolean |
|
ShowWindowAsync(IntPtr, Int32)
Declaration
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow)
Parameters
Type |
Name |
Description |
System.IntPtr |
hWnd |
|
System.Int32 |
nCmdShow |
|
Returns
Type |
Description |
System.Boolean |
|