Cursor
Sebastien Senechal
seb at cyberdine.ca
Mon Sep 3 10:38:37 PDT 2007
Hi
I tried this, and many other combinations.
I cannot seem to have a color bitmap when using setcursor. always black and
white, as converting to image make all colors about given value act as
background...
giving up on cursors....
seb
On June 19, 2007 09:33:16 chris elliott wrote:
> How about
>
> ::wxInitAllImageHandlers();
>
> wxImage image (myFilename);
>
> if (image.Ok())
> {
> SetCursor (image);
> }
> else
> wxMessageBox( wxT("My message here"), wxT("Caption"));
>
> chris
>
> Sebastien Senechal wrote:
> > Hi
> >
> > I was trying to use color png image to change the cursor inside an
> > application, on Linux. I realize display is ... not right...
> >
> > My question is, are we obliged to use black & white images using
> > SetCursor () ? Can we also use png files for that purpose ?
> >
> > thanks in advance
> >
> > seb
More information about the wx-users
mailing list