Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing an API call (SetSystemCursor(cur,OCR_WAIT);

Status
Not open for further replies.

jos100

Programmer
Nov 21, 2006
2
NO
Hi !

I am making an application that also need to change the windows cursor.
I use "SetSystemCursor" and it works fine.
When i reboot windows, it has forgoten the changes.

Going maualy in to controlpanel and select mouspointer is not an option (custom application for a visual impaired person)

The alternative pointer cursor are self made and is not placed in c:\windows\cursers.
 
Sounds like you have some registry values to set when your program runs.

\HKEY_CURRENT_USER\Control Panel\Cursors seems like where you need to go.

Or you need to set the cursor every time your program starts.
 
yes thats what i dont understand.

you say
"I am making an application that also need to change the windows cursor.
I use "SetSystemCursor" and it works fine.
When i reboot windows, it has forgoten the changes."

so whats the problem when your app is setting the cursor when it loads.

if you want the cursor to be permanent then set it in control panel.


Aaron
John Mutch Electronics
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top