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 » TopWindow&PopUp, TrayIcon » CursorImage() not called
CursorImage() not called [message #47148] Wed, 21 December 2016 16:56 Go to previous message
awksed is currently offline  awksed
Messages: 61
Registered: April 2012
Member
I'm trying to ensure an arrow cursor is shown in a messagebox of my creation (whatever the underlying window cursor is):

class CMsgBoxW : public TopWindow
{
virtual Image CursorImage(Point p, dword keyflags)
{
return Image::Arrow();
}
...

CursorImage() is never called in this or my app main window which has a similar class member.

I need to implement my own cursor selection system as the WaitCursor class and my own similar ArrowCursor class result in restoring an obsolete cursor shape when instantiated before a cursor change (using OverrideCursor()) and goes out of scope after (in multi-threaded app).

Why is CursorImage() is never called?

Thanks,

Jan
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: ColorPopup - input set/get it with exact color value
Next Topic: TrayIcon is driving me insane
Goto Forum:
  


Current Time: Sat Jun 22 18:57:15 CEST 2024

Total time taken to generate the page: 0.02717 seconds