Quantcast
Channel: CodeGuru Forums - C++ and WinAPI
Viewing all articles
Browse latest Browse all 583

Does DefWindowProc while processing WM_ERASEBKGND use update region?

$
0
0
Hi,
I process WM_ERASEBKGND message for WS_CHILD window:
Code:

  case WM_ERASEBKGND:
    GetUpdateRect(hWnd,&urect,FALSE);
    //...........

In urect i always get {0,0,0,0}. That's why I ask: does DefWindowProc while processing WM_ERASEBKGND use update region or erase entire client area?

Viewing all articles
Browse latest Browse all 583

Trending Articles