Button on wx.SplashScreen - background_image_test.zip (0/1)

Hello Franz & NG,

Franz Steinhaeusler wrote:

> we had a little discussion in our german Python-Forum.
>
> A Splashscreen with a button is needed.

<snip>

On wxGTK and wxMac the native static text controls are
naturally transparent (because either they are just drawn
directly on the parent, or because multi-layer compositing is
done by the platform) but on Windows they are their own
window. Some work has been done in wxWidgets to make them
inherit the background of the parent in order to appear
transparent, but that currently only works for solid colour
backgrounds, or unmodified themed backgrounds on XP.

The easiest thing to do now is to either make the text be
part of the image, or draw it yourself on the dc after
drawing the bitmap.

<snap>

You may have already looked at it, but have you tried to walk through the code of AdvancedSplash? In the OnPaint() event there is something related to drawing the text directly on the DC. Moreover, IIRC also the Dabo team has taken it and modified to suit their needs... You may probably look also at their implementation...

http://xoomer.virgilio.it/infinity77/eng/freeware.html#advancedsplash

Andrea.

···

_________________________________________
Andrea Gavana (gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London

Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web: http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

Hello Andrea

<snip>

You may have already looked at it, but have you tried to walk through the code of AdvancedSplash?

I know AdvancedSplash, cool contribution, but I didn't have a look at the code yet.

In the OnPaint() event there is something related to drawing the text directly on the DC.

Ah yes, that is the solution.

Moreover, IIRC also the Dabo team has taken it and modified to suit their needs... You may probably look also at their implementation...

http://xoomer.virgilio.it/infinity77/eng/freeware.html#advancedsplash

Thank you for your information!

···

On Thu, 20 Apr 2006 10:21:42 +0100, "Gavana, Andrea" <gavana@kpo.kz> wrote:
--
Franz Steinhaeusler