C# Class Tsukikage.Windows.Messaging.MessageWindow

Inheritance: System.Windows.Forms.NativeWindow, IDisposable
Exibir arquivo Open project: ttsuki/ttsuki Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Close window by posting WM_CLOSE and release all resouces. WM_CLOSEを送ってウィンドウを閉じ、すべてのリソースを解放する。

MessageWindow ( ) : System

Create new message window thread. 新しいメッセージウィンドウを作る

PostMessage ( int msg, IntPtr wParam, IntPtr lParam ) : void

Post message to the window. ウィンドウにメッセージを送る

Protected Methods

Method Description
WndProc ( Message &m ) : void

Private Methods

Method Description
PostMessage ( IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam ) : bool

Method Details

Dispose() public method

Close window by posting WM_CLOSE and release all resouces. WM_CLOSEを送ってウィンドウを閉じ、すべてのリソースを解放する。
public Dispose ( ) : void
return void

MessageWindow() public method

Create new message window thread. 新しいメッセージウィンドウを作る
public MessageWindow ( ) : System
return System

PostMessage() public method

Post message to the window. ウィンドウにメッセージを送る
public PostMessage ( int msg, IntPtr wParam, IntPtr lParam ) : void
msg int
wParam System.IntPtr
lParam System.IntPtr
return void

WndProc() protected method

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