C# Class Xwt.WPFBackend.SelectColorDialogBackend.ColorDialogExtension

Inheritance: System.Windows.Forms.ColorDialog
Mostrar archivo Open project: TheBrainTech/xwt

Public Methods

Method Description
Close ( ) : void
ColorDialogExtension ( int x, int y, String title = null ) : System

Initializes a new instance of the ColorDialogExtension class.

Protected Methods

Method Description
HookProc ( IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam ) : IntPtr

Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.

Private Methods

Method Description
EndDialog ( IntPtr hWnd, IntPtr result ) : bool
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, uint uFlags ) : bool
SetWindowText ( IntPtr hWnd, string text ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

ColorDialogExtension() public method

Initializes a new instance of the ColorDialogExtension class.
public ColorDialogExtension ( int x, int y, String title = null ) : System
x int The X position
y int The Y position
title String The title of the windows. If set to null(by default), the title will not be changed
return System

HookProc() protected method

Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.
protected HookProc ( IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam ) : IntPtr
hWnd System.IntPtr The handle to the dialog box window.
msg int The message being received.
wparam System.IntPtr Additional information about the message.
lparam System.IntPtr Additional information about the message.
return System.IntPtr