Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Hide Mouse Cursor?
Re: Hide Mouse Cursor? [message #8134 is a reply to message #8128] Sun, 11 February 2007 23:26 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
snap2000 wrote on Sun, 11 February 2007 11:41

To be honest, I don't know what work best, but it's probably not necessary. A 1x1 transparent image (which I actually changed to a white dot) is quite easy to do.



Yes, but this way it will not work when cursor points to area of widgets (I thought this is the problem).

You do not have to return 1x1 transparent image, I think returning Null (or Image()) would work as well.

Quote:


Of course, for the future, how would I change the cursor image when I hover over a button, for example? Would I need to have a pointer to the window and call its cursor function again?


Override MouseCursor virtual method for button.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Use of Layouts in tabs under topwindow
Next Topic: keeping fixed x/y ratio in a control
Goto Forum:
  


Current Time: Sat Jun 07 17:34:53 CEST 2025

Total time taken to generate the page: 0.18262 seconds