C# Class Win32Cursor, NewTOAPIA

Inheritance: ICursor, IHandle
Datei anzeigen Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Properties

Property Type Description
AppStarting Win32Cursor,
Arrow Win32Cursor,
Cross Win32Cursor,
Help Win32Cursor
IBeam Win32Cursor
Icon Win32Cursor
None Win32Cursor
Size Win32Cursor
SizeAll Win32Cursor
SizeNESW Win32Cursor
SizeNS Win32Cursor
SizeNWSE Win32Cursor
SizeWE Win32Cursor
UpArrow Win32Cursor
Wait Win32Cursor

Public Methods

Method Description
Hide ( ) : bool
MakeVisible ( ) : void
MoveBy ( int x, int y ) : bool
MoveTo ( int x, int y ) : bool

MoveTo Moves the Cursor to the specified location, in the current focuswindow's client coordinates. If the cursor is hidden, it will still move, but it won't get automatically displayed.

Show ( ) : bool
Win32Cursor ( int ident ) : System

Private Methods

Method Description
CreateCursor ( IntPtr hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, byte &pvANDPlane, byte &pvXORPlane ) : IntPtr
LoadCursor ( IntPtr hInstance, int lpCursorName ) : IntPtr
SetCursor ( IntPtr hCursor ) : int
SetCursorPos ( int X, int Y ) : bool
ShowCursor ( bool bShow ) : int

Method Details

Hide() public method

public Hide ( ) : bool
return bool

MakeVisible() public method

public MakeVisible ( ) : void
return void

MoveBy() public method

public MoveBy ( int x, int y ) : bool
x int
y int
return bool

MoveTo() public method

MoveTo Moves the Cursor to the specified location, in the current focuswindow's client coordinates. If the cursor is hidden, it will still move, but it won't get automatically displayed.
public MoveTo ( int x, int y ) : bool
x int
y int
return bool

Show() public method

public Show ( ) : bool
return bool

Win32Cursor() public method

public Win32Cursor ( int ident ) : System
ident int
return System

Property Details

AppStarting public_oe static_oe property

public static Win32Cursor, AppStarting
return Win32Cursor,

Arrow public_oe static_oe property

public static Win32Cursor, Arrow
return Win32Cursor,

Cross public_oe static_oe property

public static Win32Cursor, Cross
return Win32Cursor,

Help public_oe static_oe property

public static Win32Cursor Help
return Win32Cursor

IBeam public_oe static_oe property

public static Win32Cursor IBeam
return Win32Cursor

Icon public_oe static_oe property

public static Win32Cursor Icon
return Win32Cursor

None public_oe static_oe property

public static Win32Cursor None
return Win32Cursor

Size public_oe static_oe property

public static Win32Cursor Size
return Win32Cursor

SizeAll public_oe static_oe property

public static Win32Cursor SizeAll
return Win32Cursor

SizeNESW public_oe static_oe property

public static Win32Cursor SizeNESW
return Win32Cursor

SizeNS public_oe static_oe property

public static Win32Cursor SizeNS
return Win32Cursor

SizeNWSE public_oe static_oe property

public static Win32Cursor SizeNWSE
return Win32Cursor

SizeWE public_oe static_oe property

public static Win32Cursor SizeWE
return Win32Cursor

UpArrow public_oe static_oe property

public static Win32Cursor UpArrow
return Win32Cursor

Wait public_oe static_oe property

public static Win32Cursor Wait
return Win32Cursor