|
-
September 3rd, 1999, 04:54 AM
#1
why mouse cursor always flash?
when I change my mouse cursor,cursor always flash,why?
-
September 3rd, 1999, 07:06 AM
#2
Re: why mouse cursor always flash?
If you're using a CView derived class you can do like this to prevent flickering!
1: Set the cursor
::SetCursor(m_Cursor);
2: Tell the system not to change back the cursor
CYourView::OnSetCursor(....)
{
return TRUE;
}
This prevent the system to set the normal cursor!
If you don't have a view, you can set the cursor by theese few lines
::SetClassLong(this->GetSafeHwnd(),GCL_HCURSOR,cursor);
::SetCursor(cursor);
/Markus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|