knowledge-database (beta)

Current group: comp.soft-sys.wxwindows

a wx.Bitmap as a window background

a wx.Bitmap as a window background  
O-Zone
 Re: a wx.Bitmap as a window background  
Henk Boonsma
From:O-Zone
Subject:a wx.Bitmap as a window background
Date:Wed, 19 Jan 2005 19:27:45 +0100
Hi,
as subject, i whould to know if it's possibile to set the background of a
wx.Frame/wx.Window. I'd like to set a BITMAP as background.

Suggestions ?

Thanks ! Oz

--
-----
O-Zone ! No(C) 2004
WWW.ZEROZONE.IT >>> http://www.zerozone.it
MyPHOTOS Photo-BLOG >>> http://myphotos.zerozone.it
Pegasus Adventure's >>> http://www.zerozone.it/Varie/MotoStory
From:Henk Boonsma
Subject:Re: a wx.Bitmap as a window background
Date:Fri, 21 Jan 2005 12:29:13 +0100

"O-Zone" wrote in message
news:2513508.fzxEARLE8D@shining.zerozone.it...
> Hi,
> as subject, i whould to know if it's possibile to set the background of a
> wx.Frame/wx.Window. I'd like to set a BITMAP as background.
>
> Suggestions ?

In the OnEraseBackGround handler and use a wxDC to paint the bitmap onto the
dialog.
   

Copyright © 2006 knowledge-database   -   All rights reserved