C# 클래스 Geb.Utils.WinForm.ScrollBarSkin

改自 http://www.codeproject.com/Articles/37296/RCM-v-Theming-library-Customize-the-Appearance
상속: System.Windows.Forms.NativeWindow, IDisposable
파일 보기 프로젝트 열기: xiaotie/GebCommon

보호된 프로퍼티들

프로퍼티 타입 설명
_isFocus bool

Private Properties

프로퍼티 타입 설명
BeginPaint System.IntPtr
BitBlt bool
CheckBarState void
CreateScrollBarMask void
CreateWindowEx System.IntPtr
DestroyWindow bool
DrawScrollBar void
EndPaint bool
EqualRect bool
GetCursorPos bool
GetDC System.IntPtr
GetKeyState short
GetParent System.IntPtr
GetScrollBarInfo int
GetScrollPos int
GetSystemMetrics int
GetWindowLong int
GetWindowRect bool
HasHorizontal bool
HasSizer bool
HasVertical bool
HitTest System.Boolean
InvalidateWindow void
IsLeftKeyPressed bool
IsMouseButtonsSwitched bool
OffsetRect int
PtInRect bool
RedrawWindow bool
ReleaseDC int
ResizeMask void
ScreenToClient int
ScrollbarMetrics void
SelectObject System.IntPtr
SendMessage int
SendMessage int
SetScrollPos int
SetWindowPos bool
ShowWindow bool
StretchBlt bool
ValidateRect bool

공개 메소드들

메소드 설명
Dispose ( ) : void
ScrollBarSkin ( IntPtr hWnd ) : System

보호된 메소드들

메소드 설명
DrawHorizontalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
DrawSizer ( Graphics g, int sizerWidth, int sizerHeight ) : void
DrawVerticalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
BeginPaint ( IntPtr hWnd, PAINTSTRUCT &ps ) : IntPtr
BitBlt ( IntPtr hdc, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, int dwRop ) : bool
CheckBarState ( ) : void
CreateScrollBarMask ( ) : void
CreateWindowEx ( int exstyle, string lpClassName, string lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hwndParent, IntPtr Menu, IntPtr hInstance, IntPtr lpParam ) : IntPtr
DestroyWindow ( IntPtr hWnd ) : bool
DrawScrollBar ( ) : void
EndPaint ( IntPtr hWnd, PAINTSTRUCT &ps ) : bool
EqualRect ( [ lprc1, [ lprc2 ) : bool
GetCursorPos ( Point &lpPoint ) : bool
GetDC ( IntPtr handle ) : IntPtr
GetKeyState ( int nVirtKey ) : short
GetParent ( IntPtr hWnd ) : IntPtr
GetScrollBarInfo ( IntPtr hWnd, uint idObject, SCROLLBARINFO &psbi ) : int
GetScrollPos ( IntPtr hWnd, int nBar ) : int
GetSystemMetrics ( SYSTEM_METRICS smIndex ) : int
GetWindowLong ( IntPtr hwnd, int nIndex ) : int
GetWindowRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRect ) : bool
HasHorizontal ( ) : bool
HasSizer ( ) : bool
HasVertical ( ) : bool
HitTest ( Orientation orient ) : System.Boolean
InvalidateWindow ( bool messaged ) : void
IsLeftKeyPressed ( ) : bool
IsMouseButtonsSwitched ( ) : bool
OffsetRect ( System.Windows.Forms.RECT &lpRect, int x, int y ) : int
PtInRect ( [ lprc, Point pt ) : bool
RedrawWindow ( IntPtr hWnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, uint flags ) : bool
ReleaseDC ( IntPtr handle, IntPtr hdc ) : int
ResizeMask ( ) : void
ScreenToClient ( IntPtr hwnd, Point &lpPoint ) : int
ScrollbarMetrics ( ) : void
SelectObject ( IntPtr hdc, IntPtr hObject ) : IntPtr
SendMessage ( IntPtr hWnd, int Msg, int wParam, SCROLLBARINFO &lParam ) : int
SendMessage ( IntPtr hWnd, int Msg, int wParam, int lParam ) : int
SetScrollPos ( IntPtr hWnd, int nBar, int nPos, bool bRedraw ) : int
SetWindowPos ( IntPtr hWnd, IntPtr hWndAfter, int x, int y, int cx, int cy, uint flags ) : bool
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool
StretchBlt ( IntPtr hDest, int X, int Y, int nWidth, int nHeight, IntPtr hdcSrc, int sX, int sY, int nWidthSrc, int nHeightSrc, int dwRop ) : bool
ValidateRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRect ) : bool

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawHorizontalScrollBar() 보호된 추상적인 메소드

protected abstract DrawHorizontalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
g System.Drawing.Graphics
scrollBarWidth int
scrollBarHeight int
thumbTop int
thumbBottom int
arrowSize int
isMouseOver bool
isClick bool
리턴 void

DrawSizer() 보호된 추상적인 메소드

protected abstract DrawSizer ( Graphics g, int sizerWidth, int sizerHeight ) : void
g System.Drawing.Graphics
sizerWidth int
sizerHeight int
리턴 void

DrawVerticalScrollBar() 보호된 추상적인 메소드

protected abstract DrawVerticalScrollBar ( Graphics g, int scrollBarWidth, int scrollBarHeight, int thumbTop, int thumbBottom, int arrowSize, bool isMouseOver, bool isClick ) : void
g System.Drawing.Graphics
scrollBarWidth int
scrollBarHeight int
thumbTop int
thumbBottom int
arrowSize int
isMouseOver bool
isClick bool
리턴 void

ScrollBarSkin() 공개 메소드

public ScrollBarSkin ( IntPtr hWnd ) : System
hWnd System.IntPtr
리턴 System

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
리턴 void

프로퍼티 상세

_isFocus 보호되어 있는 프로퍼티

protected bool _isFocus
리턴 bool