Location:
Search - windows messa
Search list
Description: 学习windows内部消息编程的书籍,是windows入门必须的书籍-Learning windows programming books inside information is the windows entry must book
Platform: |
Size: 7122944 |
Author: guanping |
Hits:
Description: Windows编程基础
源程序组成结构
MFC编程基础
鼠标应用程序实例
消息映射-PostMessage()
The PostMessage function places (posts) a message in the message queue associated with the thread that created the specified window and then returns without waiting for the thread to process the message. Messages in a message queue are retrieved by calls to the GetMessage or PeekMessage function.
BOOL PostMessage( HWND hWnd, // handle of destination window
UINT Msg, // message to post
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter )
其中
hWnd
Handle to the window whose window procedure is to receive the message. Two values have special meanings: ValueMeaningHWND_BROADCASTThe message is posted to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows. The message is not posted to child windows.NULLThe function behaves like a call to PostThreadMessage with the dwThreadId parameter set to the identifier of the current thread.
Msg
Specifies the messa
Platform: |
Size: 479232 |
Author: 李毅 |
Hits: