« Check the default browser | Home | MS SQL & Sybase: recreate master database »
C++: change the cursor for one button only
// handle WM_SETCURSOR in button class
BOOL CMyButton::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT msg)
{
::SetCursor(m_hMyCursor);
return TRUE;
}
Topics: C++, cursor, mouse | Submitter: checkthis
Comments
You must be logged in to post a comment.