Is there a class or a method to change the pointer icon when the user moves the mouse over a dialog box. Example, I have a progress dialog box and I want the icon to change to a clock, to show that program is working. Any ideas. Thanks in advance
The easiest way is to create a cursor resource in Visual's resource editor, and then when you want to change the cursors icon call HCURSOR hCursor = AfxGetApp()->LoadCursor(IDC_MY_CURSOR); then call ::SetCursor(hCursor);. Check if progress controls have an OnSetCursor event, and just do the dew when it is called.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.