Re: wxEuphoria handholding please

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Chris Burch wrote:
> > 
> > Hi
> > 
> > I'm just playing around with some wxeuphoria things, and I was wondering if
> > there was any way to create a container for a bitmap, so I could put the
> > container
> > ont a window.
> > 
> > The example bitmap_background paints the background directly onto window,
> > like
> > this
> > wxframe
> >    +- bitmap
> > 
> > what I would like to do is this
> > wxframe
> >    +-wxpanel
> >         +-bitmap
> > 
> > Or is there a bitmap container, that I have missed.
> >
> > Also is there any way of giving the panel an attributue - sunken, raised,
> > border
> > etc? Or am I using the wrong component?
> 
> You can paint directly to a wxPanel, and yes, you can give a panel styles
> using the wxSUNKEN_BORDER, wxRAISED_BORDER window styles.

Ah, not documented. How do you vary the size of a panel within a frame - it
seems the panel defaults to filling the frame at the moment, and how do you alter
the size of the border.

Cheers Matt

Chris


>  
> > Also (sorry) when you load a bitmap (of whatever type) into memory, is what
> > is in memory compatible with other graphics libraries bitmaps-in-memory
> > (GDI,
> > Freeimage etc)
> 
> There's an undocumented function in the windows version called 
> wxBitmap_GetHBITMAP, which probably does what you want.  Under linux, there's
> one called wxBitmap_GetPixmap, which I suspect does something similar.
> 
> Matt Lewis


http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu