CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    4

    Displaying Bitmaps and using the virtual window

    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?


  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: Displaying Bitmaps and using the virtual window

    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?



    --
    Jason Teagle
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured