wxBitmap display on a panel/frame

Sanghamitra Biswas SBiswas at sirf.com
Mon Jul 9 07:08:53 PDT 2007


One more question:
How can I generate a Paint event from the Frame class assuming that the
frame has been initialized and displaying a list control? Should Refresh
work? 

Thanks in advance :-)

-----Original Message-----
From: Sanghamitra Biswas [mailto:SBiswas at sirf.com] 
Sent: Monday, July 09, 2007 7:29 PM
To: wx-users at lists.wxwidgets.org
Subject: RE: wxBitmap display on a panel/frame

Hi Stephan,

Thanks for the quick replies. 

I'm not exactly looking for a splash screen. 

What I'm looking for is the following:
1. My application starts up. While opening it shows a splash screen.
2. The very first screen that comes is completely blank apart from a
menubar containing a single menu "Start".  In this blank screen I want
to display a bitmap.

How do I do that?

Thanks in advance
Sanghamitra


-----Original Message-----
From: Stephan Rose [mailto:kermos at somrek.net] 
Sent: Monday, July 09, 2007 6:55 PM
To: wx-users at lists.wxwidgets.org
Subject: RE: wxBitmap display on a panel/frame

On Mon, 2007-07-09 at 17:09 +0530, Sanghamitra Biswas wrote:
> I'm new to the Windows GUI programming. I need to display the bitmap
on
> the screen at the start Up. How do I invoke the OnPaint event of the
> MyFrame at start up?
> 
> My Constructor is as follows:
> 
> Create certain menus and add them to menubar.
> Init certain list controls.
> Some extra processing.

So basically, if I understand you correctly, you are wanting to display
a splash screen while the application loads.

Look at "wxSplashScreen" and samples that implement it. =)

Stephan


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org




More information about the wx-users mailing list