CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: EvIl_DeViL

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    6,540

    Re: double buffering

    I read on msdn to pass FALSE as last parameter when I do:


    InvalidateRect(hWnd, NULL, FALSE);

    shouldn't this avoid the WM_ERASEBKGND message queuing?
  2. Replies
    4
    Views
    6,540

    Re: double buffering

    wooo! solved!
    good double buffering script bad asking-to-refresh!
    i was


    InvalidateRect(hWnd, NULL, TRUE);

    instead
  3. Replies
    4
    Views
    6,540

    double buffering

    hi! i'm trying to make a double buffering to avoid the slow refresh
    my code looks like this:


    void draw(HDC hdc)
    {
    HDC dc = CreateCompatibleDC(hdc);
    HBITMAP hBitmap = CreateCompatibleBitmap...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured