1. RE: Paint on Paint
- Posted by Al Getz <Xaxo at aol.com> Feb 09, 2001
- 375 views
graemeburke at CROSSWINDS.NET wrote: > At 07:44 9/02/01 -0800, you wrote: > >Hi all, > > > > Little problem here in win32lib land (it's so much easier than dos!!). > I've got some text on a window but I want a BMP on the background with > the > text over it. I can only get the text by itself or the bmp by itself. I > think the problem is when I'm using onPaint(). Can you help? > > > >-thanks > >-Thomas > > Write the text on the bitmap, not on the window, then > display the bitmap. > > Graeme > > The best way to do this is to set the background color mode via SetBkMode() and specify "TRANSPARENT". This allows you to write over the anything while leaving the background untouched. --Al