C# Class Eto.Win32

Datei anzeigen Open project: picoe/Eto

Public Properties

Property Type Description
HWND_BOTTOM System.IntPtr
HWND_NOTOPMOST System.IntPtr
HWND_TOP System.IntPtr
HWND_TOPMOST System.IntPtr

Public Methods

Method Description
GetDpi ( this screen ) : uint
GetMouseButtonWParam ( IntPtr wParam ) : MouseButtons
GetNextMessage ( Control ctl ) : Message?
GetWheelDeltaWParam ( IntPtr wParam ) : int
GetWindowDpi ( IntPtr hwnd ) : uint
HIWORD ( IntPtr dwValue ) : ushort
HIWORD ( uint dwValue ) : ushort
LOWORD ( IntPtr word ) : ushort
LOWORD ( int word ) : ushort
MethodExists ( string module, string method ) : bool
SignedHIWORD ( IntPtr n ) : int
SignedHIWORD ( int n ) : int
SignedLOWORD ( IntPtr n ) : int
SignedLOWORD ( int n ) : int

Private Methods

Method Description
FreeLibrary ( IntPtr moduleHandle ) : bool
GetDpiForMonitor ( IntPtr hmonitor, MDT dpiType, uint &dpiX, uint &dpiY ) : uint
GetProcAddress ( IntPtr moduleHandle, string method ) : IntPtr
GetProcessDpiAwareness ( IntPtr handle, PROCESS_DPI_AWARENESS &awareness ) : uint
GetWindowLong ( IntPtr hWnd, GWL nIndex ) : uint
GetWindowRect ( IntPtr hWnd, RECT &lpRect ) : bool
LoadLibrary ( string library ) : IntPtr
MonitorFromPoint ( System pt, MONITOR dwFlags ) : IntPtr
MonitorFromWindow ( IntPtr hwnd, MONITOR flags ) : IntPtr
PeekMessage ( Message &wMsg, IntPtr hwnd, int msgMin, int msgMax, int remove ) : bool
SendMessage ( IntPtr hWnd, WM wMsg, IntPtr wParam, IntPtr lParam ) : IntPtr
SendMessage ( IntPtr hWnd, WM msg, IntPtr wParam, [ lParam ) : IntPtr
SetProcessDpiAwareness ( PROCESS_DPI_AWARENESS awareness ) : uint
SetWindowLong ( IntPtr hWnd, GWL nIndex, uint dwNewLong ) : int
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SWP uFlags ) : bool
ShowWindow ( IntPtr hWnd, SW nCmdShow ) : bool

Method Details

GetDpi() public static method

public static GetDpi ( this screen ) : uint
screen this
return uint

GetMouseButtonWParam() public static method

public static GetMouseButtonWParam ( IntPtr wParam ) : MouseButtons
wParam System.IntPtr
return MouseButtons

GetNextMessage() public static method

public static GetNextMessage ( Control ctl ) : Message?
ctl Control
return Message?

GetWheelDeltaWParam() public static method

public static GetWheelDeltaWParam ( IntPtr wParam ) : int
wParam System.IntPtr
return int

GetWindowDpi() public static method

public static GetWindowDpi ( IntPtr hwnd ) : uint
hwnd System.IntPtr
return uint

HIWORD() public static method

public static HIWORD ( IntPtr dwValue ) : ushort
dwValue System.IntPtr
return ushort

HIWORD() public static method

public static HIWORD ( uint dwValue ) : ushort
dwValue uint
return ushort

LOWORD() public static method

public static LOWORD ( IntPtr word ) : ushort
word System.IntPtr
return ushort

LOWORD() public static method

public static LOWORD ( int word ) : ushort
word int
return ushort

MethodExists() public static method

public static MethodExists ( string module, string method ) : bool
module string
method string
return bool

SignedHIWORD() public static method

public static SignedHIWORD ( IntPtr n ) : int
n System.IntPtr
return int

SignedHIWORD() public static method

public static SignedHIWORD ( int n ) : int
n int
return int

SignedLOWORD() public static method

public static SignedLOWORD ( IntPtr n ) : int
n System.IntPtr
return int

SignedLOWORD() public static method

public static SignedLOWORD ( int n ) : int
n int
return int

Property Details

HWND_BOTTOM public_oe static_oe property

public static IntPtr,System HWND_BOTTOM
return System.IntPtr

HWND_NOTOPMOST public_oe static_oe property

public static IntPtr,System HWND_NOTOPMOST
return System.IntPtr

HWND_TOP public_oe static_oe property

public static IntPtr,System HWND_TOP
return System.IntPtr

HWND_TOPMOST public_oe static_oe property

public static IntPtr,System HWND_TOPMOST
return System.IntPtr