cursor did not change
-
Hi, I wrote this code on CMessDlg : public CDialog but the cursor type is not changing What can be the reseon? Thank you in advance, Seval YILMAZ OnSetCursor is trigeret on ON_WM_SETCURSOR() HCURSOR hcrs; BOOL CMessDlg::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) { hcrs = AfxGetApp()->LoadCursor(IDC_NODROP); CWinApp* pApp = AfxGetApp(); SetCursor( hcrs ); return CDialog::OnSetCursor(pWnd, nHitTest, message); }
-
Hi, I wrote this code on CMessDlg : public CDialog but the cursor type is not changing What can be the reseon? Thank you in advance, Seval YILMAZ OnSetCursor is trigeret on ON_WM_SETCURSOR() HCURSOR hcrs; BOOL CMessDlg::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) { hcrs = AfxGetApp()->LoadCursor(IDC_NODROP); CWinApp* pApp = AfxGetApp(); SetCursor( hcrs ); return CDialog::OnSetCursor(pWnd, nHitTest, message); }
Did you try to set the cursor AFTER the call to the base class?
Who is 'General Failure'? And why is he reading my harddisk?!?