|
-
May 26th, 1999, 02:50 AM
#1
How can I get a hairlines cursor in my View?
I have a view which displays a graphic. I would like to draw a hairlines cursor (cross) ... what is the best way to do this ?
-
May 26th, 1999, 04:44 AM
#2
Re: How can I get a hairlines cursor in my View?
You have an example of this in the MSDN with VC++ 6.0
in the index tab search for "Cursor sample (Windows UI text selection)"
Christian Niquille
-
May 26th, 1999, 09:42 AM
#3
Re: How can I get a hairlines cursor in my View?
try this
BOOL CMyView::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)
{
SetCursor(AfxGetApp()->LoadStandardCursor(
IDC_CROSS));
return TRUE;
}
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
|