CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: bitmaps

  1. #1
    Join Date
    Apr 1999
    Location
    Scottsdale, Arizona
    Posts
    28

    bitmaps

    I have a window with scrollbars on it, in which I draw a bitmap. Everything works fine until the bitmap is scrolled out of view, and then back in. It simply disappears. Anyone ever run into this before.



  2. #2
    Join Date
    Jun 1999
    Location
    Bangalore, India
    Posts
    1

    Re: bitmaps

    Are you sure that you drew the bitmap in the WM_PAINT handler for the window?
    If not, try adding a message handler for WM_PAINT and draw the bitmap in that function.

    ------------------------------------------------
    The truth is out there... anyone knows the url?
    ------------------------------------------------

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