Click to See Complete Forum and Search --> : Displaying Bitmaps and using the virtual window


Nick Pickett
May 19th, 1999, 06:12 AM
I trying to display a custom bitmap together with some text (ANSI_VAR_FONT) and I want to use a virtual window to get around the repaint problem. The problem however is when I create a bitmap for the screen (virtual window) and add some text to it (using TextOut) and then add my custom bitmap (using BitBlt) I end up with my custom bitmap in the top left corner of the screen and no text. How can I add both text and a custom bitmap to the virtual window?

Jason Teagle
May 19th, 1999, 07:17 AM
I don't know quite what you mean by 'virtual window', but why don't you post the code that creates this 'window' / bitmap and the code which blits and outputs text, so that we can have a look?