[Implemented] CanvasGadget: use any valid cursor handle

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

[Implemented] CanvasGadget: use any valid cursor handle

Post by netmaestro »

It seems unsupported to use SetGadgetAttribute(#Canvas, #PB_Canvas_Cursor, <some valid hCursor>). So far only the native cursor constants can be chosen. I was wondering if this could be supported? (I like to make my own custom cursors).
BERESHEIT
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: CanvasGadget: use any valid cursor handle

Post by IdeasVacuum »

+1 :)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: CanvasGadget: use any valid cursor handle

Post by nco2k »

yep, would be great.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: CanvasGadget: use any valid cursor handle

Post by Polo »

I'd love to have this option as well!
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: CanvasGadget: use any valid cursor handle

Post by freak »

there is a new #PB_Canvas_CustomCursor attribute to set a custom cursor handle now.
quidquid Latine dictum sit altum videtur
Post Reply