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 ?
Printable 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 ?
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
try this
BOOL CMyView::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)
{
SetCursor(AfxGetApp()->LoadStandardCursor(
IDC_CROSS));
return TRUE;
}