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

Thread: doublebuffer

  1. #1
    Join Date
    Apr 1999
    Posts
    1

    doublebuffer



    Hi !

    I have a problem with applets. I need to know how to make a doublebuffer,

    so I can eliminate the #¤"¤%/ falshing problem.....

    I have overloaded update(Graphics g) but i dont know how make the offscreen buffer

    and how to paste the images onto the screen.....


    And I have another problem... I haven't been able to find info on the objects

    Dimension...... I have searched the API's......


    Please use my email to contact me.......

    THANKS !


    Im danish, so if my English isn't that good..... you now know why ! )



  2. #2
    Join Date
    Mar 1999
    Posts
    14

    Re: doublebuffer



    Hi,

    For doublebuffering,you've to create the handles for the images thru getGraphics.Suppose you want to draw a rectangle on a screen.Get the handles for rectangle and screen(I mean two images).Draw the rectangle on one handle.Now draw this image on the screen using screen handle.

    Now instead of drawing the rectangle everytime,you can directly draw tru this image.

    In case of any problem you r most welcome..

    Singh



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