C# Class NetIde.Util.Forms.RichTextBox

Inheritance: System.Windows.Forms.RichTextBox
ファイルを表示 Open project: netide/netide

Private Properties

Property Type Description
CloseThemeData System.Int32
DllGetVersion int
DrawThemeBackground System.Int32
DrawThemeBackground System.Int32
DrawThemeParentBackground System.Int32
ExcludeClipRect int
GetState int
GetThemeBackgroundContentRect System.Int32
GetWindowDC System.IntPtr
GetWindowRect bool
IsAppThemed bool
IsThemeActive bool
IsThemeBackgroundPartiallyTransparent int
OpenThemeData System.IntPtr
ReleaseDC int
RenderWithVisualStyles bool
SetWindowPos bool
VisualStylesEnabled bool
WmNcCalcSize void
WmNcPaint void

Protected Methods

Method Description
OnGotFocus ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
WndProc ( Message &m ) : void

Filter some message we need to draw the border.

Private Methods

Method Description
CloseThemeData ( IntPtr hTheme ) : Int32
DllGetVersion ( DLLVersionInfo &version ) : int
DrawThemeBackground ( IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, System.Windows.Forms.RECT &pRect, IntPtr pClipRect ) : Int32
DrawThemeBackground ( IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, System.Windows.Forms.RECT &pRect, System.Windows.Forms.RECT &pClipRect ) : Int32
DrawThemeParentBackground ( IntPtr hWnd, IntPtr hdc, System.Windows.Forms.RECT &pRect ) : Int32
ExcludeClipRect ( IntPtr hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : int
GetState ( ) : int
GetThemeBackgroundContentRect ( IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, System.Windows.Forms.RECT &pBoundingRect, System.Windows.Forms.RECT &pContentRect ) : Int32
GetWindowDC ( IntPtr hWnd ) : IntPtr
GetWindowRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRect ) : bool
IsAppThemed ( ) : bool
IsThemeActive ( ) : bool
IsThemeBackgroundPartiallyTransparent ( IntPtr hTheme, int iPartId, int iStateId ) : int
OpenThemeData ( IntPtr hWnd, String classList ) : IntPtr
ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : int
RenderWithVisualStyles ( ) : bool

Return true, when this control should render with visual styles.

SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags ) : bool
VisualStylesEnabled ( ) : bool

Returns true, when visual styles are enabled in this application.

WmNcCalcSize ( Message &m ) : void

Calculates the size of the window frame and client area of the RichTextBox

WmNcPaint ( Message &m ) : void

The border painting is done here.

Method Details

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

WndProc() protected method

Filter some message we need to draw the border.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void