C# Class System.Windows.Forms.XplatUICarbon

Inheritance: System.Windows.Forms.XplatUIDriver
Show file Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
AccumulateDestroyedHandles void
Activate void
ActivateWindow int
AddExpose void
AddExpose void
AddExpose void
AlertSoundPlay void
AudibleAlert void
BeginAppModalStateForWindow int
CFRelease int
CGColorSpaceCreateDeviceRGB System.IntPtr
CGDataProviderCreateWithData System.IntPtr
CGDisplayBounds System.Windows.Forms.CarbonInternal.HIRect
CGDisplayHideCursor void
CGDisplayMoveCursorToPoint void
CGDisplayShowCursor void
CGImageCreate System.IntPtr
CGMainDisplayID System.IntPtr
CalculateWindowRect bool
CaretCallback void
CaretVisible void
ChangeWindowAttributes int
CheckTimers void
CleanupCachedWindows void
ClientToScreen void
ClipboardAvailableFormats int[]
ClipboardClose void
ClipboardGetID int
ClipboardOpen System.IntPtr
ClipboardRetrieve object
ClipboardStore void
CollapseWindow void
ConvertClientPointToScreen Point
ConvertScreenPointToClient Point
CreateCaret void
CreateNewWindow int
CreateWindow System.IntPtr
CreateWindow System.IntPtr
DefWndProc System.IntPtr
DefineCursor System.IntPtr
DefineStdCursor System.IntPtr
DefineStdCursorBitmap System.Drawing.Bitmap
DeriveStyles void
DestroyCaret void
DestroyCursor void
DestroyWindow void
DispatchMessage System.IntPtr
DisposeWindow int
DoEvents void
DrawReversibleFrame void
DrawReversibleLine void
DrawReversibleRectangle void
EnableThemes void
EnableWindow void
EndAppModalStateForWindow int
EndLoop void
EnqueueMessage void
ExStyleSet bool
Exit void
FillReversibleRectangle void
FlushQueue void
GetActive System.IntPtr
GetAutoScaleSize System.Drawing.SizeF
GetClipRegion System.Drawing.Region
GetClippingRectangles System.Drawing.Rectangle[]
GetCurrentProcess int
GetCursorInfo void
GetCursorPos void
GetDisplaySize void
GetEventDispatcherTarget System.IntPtr
GetFocus System.IntPtr
GetFontMetrics bool
GetGlobalMouse int
GetMBarHeight short
GetMenuOrigin Point
GetMessage bool
GetMousewParam System.IntPtr
GetParent System.IntPtr
GetPreviousWindow System.IntPtr
GetText bool
GetWindowAttributes int
GetWindowBounds int
GetWindowPos void
GetWindowState FormWindowState
GetWindowTransparency double
GrabInfo void
GrabWindow void
HIGrowBoxViewSetTransparent int
HIObjectCreate int
HIObjectRegisterSubclass int
HIViewAddSubview int
HIViewChangeFeatures int
HIViewConvertPoint int
HIViewFindByID int
HIViewGetBounds int
HIViewGetPreviousView System.IntPtr
HIViewGetRoot System.IntPtr
HIViewGetSuperview System.IntPtr
HIViewGetWindow System.IntPtr
HIViewIsVisible bool
HIViewNewTrackingArea int
HIViewPlaceInSuperviewAt int
HIViewRemoveFromSuperview int
HIViewScrollRect int
HIViewSetFrame int
HIViewSetNeedsDisplayInRect int
HIViewSetVisible int
HIViewSetZOrder int
HandleException void
HandleToWindow System.IntPtr
HideCaret void
HideWindow int
HoverCallback void
Initialize void
InitializeDriver System.IntPtr
Invalidate void
InvalidateNC void
IsEnabled bool
IsVisible bool
IsWindowActive bool
IsWindowCollapsed bool
IsWindowInStandardState bool
IsWindowVisible bool
KillTimer void
MenuToScreen void
NextTimeout double
OverrideCursor void
PaintEventEnd void
PaintEventStart PaintEventArgs
PeekMessage bool
PerformNCCalc void
PostMessage bool
PostQuitMessage void
RaiseIdle void
ReceiveNextEvent int
ReleaseEvent int
RequestAdditionalWM_NCMessages void
RequestNCRecalc void
ResetMouseHover void
RestoreApplicationDockTileImage void
ScreenToClient void
ScreenToClient void
ScreenToMenu void
ScrollWindow void
ScrollWindow void
SendAsyncMethod void
SendEventToEventTarget int
SendInput int
SendMessage System.IntPtr
SendParentNotify void
SetAllowDrop void
SetApplicationDockTileImage void
SetAutomaticControlDragTrackingEnabledForWindow int
SetBorderStyle void
SetCaretPos void
SetClipRegion void
SetControlTitleWithCFString int
SetCursor void
SetCursorPos void
SetFocus void
SetFrontProcess int
SetHwndStyles void
SetIcon void
SetMenu void
SetModal void
SetOwner bool
SetParent System.IntPtr
SetRect void
SetTimer void
SetTopmost bool
SetVisible bool
SetWindowBounds int
SetWindowMinMax void
SetWindowPos void
SetWindowState void
SetWindowStyle void
SetWindowTitleWithCFString int
SetWindowTransparency void
SetZOrder bool
ShowCaret void
ShowCursor void
ShowWindow int
ShutdownDriver void
SizeWindow void
StartDrag DragDropEffects
StartLoop object
StyleSet bool
SupportsTransparency TransparencySupport
SystrayAdd bool
SystrayBalloon void
SystrayChange bool
SystrayRemove void
Text bool
TransformProcessType int
TranslateClientRectangleToQuartzClientRectangle System.Drawing.Rectangle
TranslateClientRectangleToQuartzClientRectangle System.Drawing.Rectangle
TranslateMessage bool
TranslateQuartzWindowSizeToWindowSize System.Drawing.Size
TranslateWindowSizeToQuartzWindowSize System.Drawing.Size
TranslateWindowSizeToQuartzWindowSize System.Drawing.Size
UngrabWindow void
UpdateWindow void
WaitForHwndMessage void
XplatUICarbon System
ZoomWindow void
__CFStringMakeConstantString System.IntPtr

Public Methods

Method Description
GetInstance ( ) : XplatUICarbon

Private Methods

Method Description
AccumulateDestroyedHandles ( Control c, ArrayList list ) : void
Activate ( IntPtr handle ) : void
ActivateWindow ( IntPtr windowHnd, bool inActivate ) : int
AddExpose ( System.Windows.Forms.Hwnd hwnd, bool client, Rectangle rect ) : void
AddExpose ( System.Windows.Forms.Hwnd hwnd, bool client, System.Windows.Forms.CarbonInternal rect ) : void
AddExpose ( System.Windows.Forms.Hwnd hwnd, bool client, int x, int y, int width, int height ) : void
AlertSoundPlay ( ) : void
AudibleAlert ( AlertType alert ) : void
BeginAppModalStateForWindow ( IntPtr window ) : int
CFRelease ( IntPtr wHnd ) : int
CGColorSpaceCreateDeviceRGB ( ) : IntPtr
CGDataProviderCreateWithData ( IntPtr info, IntPtr data, int size, IntPtr releasefunc ) : IntPtr
CGDisplayBounds ( IntPtr displayID ) : System.Windows.Forms.CarbonInternal.HIRect
CGDisplayHideCursor ( IntPtr display ) : void
CGDisplayMoveCursorToPoint ( IntPtr display, System.Windows.Forms.CarbonInternal point ) : void
CGDisplayShowCursor ( IntPtr display ) : void
CGImageCreate ( int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, IntPtr colorspace, uint bitmapInfo, IntPtr provider, IntPtr decode, int shouldInterpolate, int intent ) : IntPtr
CGMainDisplayID ( ) : IntPtr
CalculateWindowRect ( Rectangle &ClientRect, CreateParams cp, Menu menu, Rectangle &WindowRect ) : bool
CaretCallback ( object sender, EventArgs e ) : void
CaretVisible ( IntPtr hwnd, bool visible ) : void
ChangeWindowAttributes ( IntPtr hWnd, System.Windows.Forms.CarbonInternal inAttributes, System.Windows.Forms.CarbonInternal outAttributes ) : int
CheckTimers ( System.DateTime now ) : void
CleanupCachedWindows ( System.Windows.Forms.Hwnd hwnd ) : void
ClientToScreen ( IntPtr handle, int &x, int &y ) : void
ClipboardAvailableFormats ( IntPtr handle ) : int[]
ClipboardClose ( IntPtr handle ) : void
ClipboardGetID ( IntPtr handle, string format ) : int
ClipboardOpen ( bool primary_selection ) : IntPtr
ClipboardRetrieve ( IntPtr handle, int type, System.Windows.Forms.XplatUI converter ) : object
ClipboardStore ( IntPtr handle, object obj, int type, System.Windows.Forms.XplatUI converter ) : void
CollapseWindow ( IntPtr hWnd, bool collapse ) : void
ConvertClientPointToScreen ( IntPtr handle, Point point ) : Point
ConvertScreenPointToClient ( IntPtr handle, Point point ) : Point
CreateCaret ( IntPtr hwnd, int width, int height ) : void
CreateNewWindow ( System.Windows.Forms.CarbonInternal klass, System.Windows.Forms.CarbonInternal attributes, System.Windows.Forms.CarbonInternal &r, IntPtr &window ) : int
CreateWindow ( CreateParams cp ) : IntPtr
CreateWindow ( IntPtr Parent, int X, int Y, int Width, int Height ) : IntPtr
DefWndProc ( Message &msg ) : IntPtr
DefineCursor ( Bitmap bitmap, Bitmap mask, Color cursor_pixel, Color mask_pixel, int xHotSpot, int yHotSpot ) : IntPtr
DefineStdCursor ( StdCursor id ) : IntPtr
DefineStdCursorBitmap ( StdCursor id ) : Bitmap
DeriveStyles ( int Style, int ExStyle, FormBorderStyle &border_style, bool &border_static, TitleStyle &title_style, int &caption_height, int &tool_caption_height ) : void
DestroyCaret ( IntPtr hwnd ) : void
DestroyCursor ( IntPtr cursor ) : void
DestroyWindow ( IntPtr handle ) : void
DispatchMessage ( System.Windows.Forms.MSG &msg ) : IntPtr
DisposeWindow ( IntPtr wHnd ) : int
DoEvents ( ) : void
DrawReversibleFrame ( Rectangle rectangle, Color backColor, FrameStyle style ) : void
DrawReversibleLine ( Point start, Point end, Color backColor ) : void
DrawReversibleRectangle ( IntPtr handle, Rectangle rect, int line_width ) : void
EnableThemes ( ) : void
EnableWindow ( IntPtr handle, bool Enable ) : void
EndAppModalStateForWindow ( IntPtr window ) : int
EndLoop ( Thread thread ) : void
EnqueueMessage ( System.Windows.Forms.MSG msg ) : void
ExStyleSet ( int ex, WindowExStyles exws ) : bool
Exit ( ) : void
FillReversibleRectangle ( Rectangle rectangle, Color backColor ) : void
FlushQueue ( ) : void
GetActive ( ) : IntPtr
GetAutoScaleSize ( Font font ) : SizeF
GetClipRegion ( IntPtr hwnd ) : Region
GetClippingRectangles ( IntPtr handle ) : System.Drawing.Rectangle[]
GetCurrentProcess ( System.Windows.Forms.CarbonInternal &psn ) : int
GetCursorInfo ( IntPtr cursor, int &width, int &height, int &hotspot_x, int &hotspot_y ) : void
GetCursorPos ( IntPtr handle, int &x, int &y ) : void
GetDisplaySize ( Size &size ) : void
GetEventDispatcherTarget ( ) : IntPtr
GetFocus ( ) : IntPtr
GetFontMetrics ( Graphics g, Font font, int &ascent, int &descent ) : bool
GetGlobalMouse ( System.Windows.Forms.CarbonInternal &outData ) : int
GetMBarHeight ( ) : short
GetMenuOrigin ( IntPtr handle ) : Point
GetMessage ( object queue_id, System.Windows.Forms.MSG &msg, IntPtr hWnd, int wFilterMin, int wFilterMax ) : bool
GetMousewParam ( int Delta ) : IntPtr
GetParent ( IntPtr handle ) : IntPtr
GetPreviousWindow ( IntPtr handle ) : IntPtr
GetText ( IntPtr handle, string &text ) : bool
GetWindowAttributes ( IntPtr hWnd, System.Windows.Forms.CarbonInternal &outAttributes ) : int
GetWindowBounds ( IntPtr wHnd, uint reg, System.Windows.Forms.CarbonInternal &rect ) : int
GetWindowPos ( IntPtr handle, bool is_toplevel, int &x, int &y, int &width, int &height, int &client_width, int &client_height ) : void
GetWindowState ( IntPtr hwnd ) : FormWindowState
GetWindowTransparency ( IntPtr handle ) : double
GrabInfo ( IntPtr &handle, bool &GrabConfined, Rectangle &GrabArea ) : void
GrabWindow ( IntPtr handle, IntPtr confine_to_handle ) : void
HIGrowBoxViewSetTransparent ( IntPtr GrowBox, bool transparency ) : int
HIObjectCreate ( IntPtr cfStr, uint what, IntPtr &hwnd ) : int
HIObjectRegisterSubclass ( IntPtr classid, IntPtr superclassid, uint options, System.Windows.Forms.CarbonInternal upp, uint count, System.Windows.Forms.CarbonInternal list, IntPtr state, IntPtr &cls ) : int
HIViewAddSubview ( IntPtr parentHnd, IntPtr childHnd ) : int
HIViewChangeFeatures ( IntPtr aView, ulong bitsin, ulong bitsout ) : int
HIViewConvertPoint ( System.Windows.Forms.CarbonInternal &point, IntPtr pView, IntPtr cView ) : int
HIViewFindByID ( IntPtr rootWnd, System.Windows.Forms.CarbonInternal id, IntPtr &outPtr ) : int
HIViewGetBounds ( IntPtr vHnd, System.Windows.Forms.CarbonInternal &r ) : int
HIViewGetPreviousView ( IntPtr aView ) : IntPtr
HIViewGetRoot ( IntPtr hWnd ) : IntPtr
HIViewGetSuperview ( IntPtr aView ) : IntPtr
HIViewGetWindow ( IntPtr aView ) : IntPtr
HIViewIsVisible ( IntPtr vHnd ) : bool
HIViewNewTrackingArea ( IntPtr inView, IntPtr inShape, System.UInt64 inID, IntPtr &outRef ) : int
HIViewPlaceInSuperviewAt ( IntPtr view, float x, float y ) : int
HIViewRemoveFromSuperview ( IntPtr aView ) : int
HIViewScrollRect ( IntPtr vHnd, System.Windows.Forms.CarbonInternal &rect, float x, float y ) : int
HIViewSetFrame ( IntPtr view_handle, System.Windows.Forms.CarbonInternal &bounds ) : int
HIViewSetNeedsDisplayInRect ( IntPtr view_handle, System.Windows.Forms.CarbonInternal &rect, bool needs_display ) : int
HIViewSetVisible ( IntPtr vHnd, bool visible ) : int
HIViewSetZOrder ( IntPtr hWnd, int cmd, IntPtr oHnd ) : int
HandleException ( Exception e ) : void
HandleToWindow ( IntPtr handle ) : IntPtr
HideCaret ( ) : void
HideWindow ( IntPtr wHnd ) : int
HoverCallback ( object sender, EventArgs e ) : void
Initialize ( ) : void
InitializeDriver ( ) : IntPtr
Invalidate ( IntPtr handle, Rectangle rc, bool clear ) : void
InvalidateNC ( IntPtr handle ) : void
IsEnabled ( IntPtr handle ) : bool
IsVisible ( IntPtr handle ) : bool
IsWindowActive ( IntPtr windowHnd ) : bool
IsWindowCollapsed ( IntPtr hWnd ) : bool
IsWindowInStandardState ( IntPtr hWnd, IntPtr a, IntPtr b ) : bool
IsWindowVisible ( IntPtr wHnd ) : bool
KillTimer ( Timer timer ) : void
MenuToScreen ( IntPtr handle, int &x, int &y ) : void
NextTimeout ( ) : double
OverrideCursor ( IntPtr cursor ) : void
PaintEventEnd ( Message &msg, IntPtr handle, bool client ) : void
PaintEventStart ( Message &msg, IntPtr handle, bool client ) : PaintEventArgs
PeekMessage ( Object queue_id, System.Windows.Forms.MSG &msg, IntPtr hWnd, int wFilterMin, int wFilterMax, uint flags ) : bool
PerformNCCalc ( System.Windows.Forms.Hwnd hwnd ) : void
PostMessage ( IntPtr hwnd, System.Windows.Forms.Msg message, IntPtr wParam, IntPtr lParam ) : bool
PostQuitMessage ( int exitCode ) : void
RaiseIdle ( EventArgs e ) : void
ReceiveNextEvent ( uint evtCount, IntPtr evtTypes, double timeout, bool processEvt, IntPtr &evt ) : int
ReleaseEvent ( IntPtr evt ) : int
RequestAdditionalWM_NCMessages ( IntPtr hwnd, bool hover, bool leave ) : void
RequestNCRecalc ( IntPtr handle ) : void
ResetMouseHover ( IntPtr handle ) : void
RestoreApplicationDockTileImage ( ) : void
ScreenToClient ( IntPtr handle, System.Windows.Forms.CarbonInternal &point ) : void
ScreenToClient ( IntPtr handle, int &x, int &y ) : void
ScreenToMenu ( IntPtr handle, int &x, int &y ) : void
ScrollWindow ( IntPtr handle, Rectangle area, int XAmount, int YAmount, bool clear ) : void
ScrollWindow ( IntPtr handle, int XAmount, int YAmount, bool clear ) : void
SendAsyncMethod ( System.Windows.Forms.AsyncMethodData method ) : void
SendEventToEventTarget ( IntPtr evt, IntPtr target ) : int
SendInput ( IntPtr hwnd, Queue keys ) : int
SendMessage ( IntPtr hwnd, System.Windows.Forms.Msg message, IntPtr wParam, IntPtr lParam ) : IntPtr
SendParentNotify ( IntPtr child, System.Windows.Forms.Msg cause, int x, int y ) : void
SetAllowDrop ( IntPtr handle, bool value ) : void
SetApplicationDockTileImage ( IntPtr imageRef ) : void
SetAutomaticControlDragTrackingEnabledForWindow ( IntPtr window, bool enabled ) : int
SetBorderStyle ( IntPtr handle, FormBorderStyle border_style ) : void
SetCaretPos ( IntPtr hwnd, int x, int y ) : void
SetClipRegion ( IntPtr hwnd, Region region ) : void
SetControlTitleWithCFString ( IntPtr hWnd, IntPtr titleCFStr ) : int
SetCursor ( IntPtr window, IntPtr cursor ) : void
SetCursorPos ( IntPtr handle, int x, int y ) : void
SetFocus ( IntPtr handle ) : void
SetFrontProcess ( System.Windows.Forms.CarbonInternal &psn ) : int
SetHwndStyles ( System.Windows.Forms.Hwnd hwnd, CreateParams cp ) : void
SetIcon ( IntPtr handle, Icon icon ) : void
SetMenu ( IntPtr handle, Menu menu ) : void
SetModal ( IntPtr handle, bool Modal ) : void
SetOwner ( IntPtr hWnd, IntPtr hWndOwner ) : bool
SetParent ( IntPtr handle, IntPtr parent ) : IntPtr
SetRect ( System.Windows.Forms.CarbonInternal &r, short left, short top, short right, short bottom ) : void
SetTimer ( Timer timer ) : void
SetTopmost ( IntPtr hWnd, bool Enabled ) : bool
SetVisible ( IntPtr handle, bool visible, bool activate ) : bool
SetWindowBounds ( IntPtr wHnd, uint reg, System.Windows.Forms.CarbonInternal &rect ) : int
SetWindowMinMax ( IntPtr handle, Rectangle maximized, Size min, Size max ) : void
SetWindowPos ( IntPtr handle, int x, int y, int width, int height ) : void
SetWindowState ( IntPtr handle, FormWindowState state ) : void
SetWindowStyle ( IntPtr handle, CreateParams cp ) : void
SetWindowTitleWithCFString ( IntPtr hWnd, IntPtr titleCFStr ) : int
SetWindowTransparency ( IntPtr handle, double transparency, Color key ) : void
SetZOrder ( IntPtr handle, IntPtr after_handle, bool Top, bool Bottom ) : bool
ShowCaret ( ) : void
ShowCursor ( bool show ) : void
ShowWindow ( IntPtr wHnd ) : int
ShutdownDriver ( IntPtr token ) : void
SizeWindow ( Rectangle rect, IntPtr window ) : void
StartDrag ( IntPtr handle, object data, DragDropEffects allowed_effects ) : DragDropEffects
StartLoop ( Thread thread ) : object
StyleSet ( int s, WindowStyles ws ) : bool
SupportsTransparency ( ) : TransparencySupport
SystrayAdd ( IntPtr hwnd, string tip, Icon icon, ToolTip &tt ) : bool
SystrayBalloon ( IntPtr hwnd, int timeout, string title, string text, ToolTipIcon icon ) : void
SystrayChange ( IntPtr hwnd, string tip, Icon icon, ToolTip &tt ) : bool
SystrayRemove ( IntPtr hwnd, ToolTip &tt ) : void
Text ( IntPtr handle, string text ) : bool
TransformProcessType ( System.Windows.Forms.CarbonInternal &psn, uint type ) : int
TranslateClientRectangleToQuartzClientRectangle ( System.Windows.Forms.Hwnd hwnd ) : Rectangle
TranslateClientRectangleToQuartzClientRectangle ( System.Windows.Forms.Hwnd hwnd, Control ctrl ) : Rectangle
TranslateMessage ( System.Windows.Forms.MSG &msg ) : bool
TranslateQuartzWindowSizeToWindowSize ( CreateParams cp, int width, int height ) : Size
TranslateWindowSizeToQuartzWindowSize ( CreateParams cp ) : Size
TranslateWindowSizeToQuartzWindowSize ( CreateParams cp, Size size ) : Size
UngrabWindow ( IntPtr hwnd ) : void
UpdateWindow ( IntPtr handle ) : void
WaitForHwndMessage ( System.Windows.Forms.Hwnd hwnd, System.Windows.Forms.Msg message ) : void
XplatUICarbon ( ) : System
ZoomWindow ( IntPtr hWnd, short partCode, bool front ) : void
__CFStringMakeConstantString ( string cString ) : IntPtr

Method Details

GetInstance() public static method

public static GetInstance ( ) : XplatUICarbon
return XplatUICarbon