GDI+ graphics objects and PureBasic gadgets

Everything else that doesn't fall into one of the other PB categories.
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

GDI+ graphics objects and PureBasic gadgets

Post by SFSxOI »

Can GDI+ graphics objects contain PureBasic gadgets?
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

If you want to display a GDIplus image object in an image gadget you must convert it to hBitmap format first. Have a look at GdipCreateHBITMAPFromBitmap for further info.
BERESHEIT
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

netmaestro wrote:If you want to display a GDIplus image object in an image gadget you must convert it to hBitmap format first. Have a look at GdipCreateHBITMAPFromBitmap for further info.
What i'd like to be able to do is use a PureBasic gadget as a GDI object, not display a GDI image object in a PureBasic image gadget. I want to place the PureBasic gadget in a GDI graphics path.
Post Reply