setwindowlong(hWnd ,GWL_WNDPROC,youproc)LRESULT CALLBACK youproc(
HWND hwnd, // handle to window
UINT uMsg, // message identifier
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
); //在这里可以处理你的消息
HWND hwnd, // handle to window
UINT uMsg, // message identifier
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
); //在这里可以处理你的消息
BOOL CYouWnd::PreTranslateMessage(MSG* pMsg)