마우스 그래픽 설정 시기


CWnd::OnSetCursor 정보
afx_msg BOOL CWnd::OnSetCursor(
   CWnd* pWnd, 
   UINT nHitTest,
   UINT message 
);

The framework calls this member function if mouse input is not captured and the mouse causes cursor movement within the CWnd object.
Parameters
pWnd
Specifies a pointer to the window that contains the cursor. The pointer may be temporary and should not be stored for later use.
nHitTest
Specifies the
hit-test area code. The hit test determines the cursor's location.
message
Specifies the mouse message number.
Return Value
Nonzero to halt further processing, or 0 to continue.
Remarks
The default implementation calls the parent window's OnSetCursor before processing. If the parent window returns TRUE, further processing is halted. Calling the parent window gives the parent window control over the cursor's setting in a child window. The default implementation sets the cursor to an arrow if it is not in the client area or to the registered-class cursor if it is.

좋은 웹페이지 즐겨찾기