Re: Toolbar background error
17 Aug
2001
17 Aug
'01
2:42 p.m.
Gerard Patel <gerard.patel(a)nerim.net> writes:
Now if I add immediately after :
hdc = GetWindowDC(hwnd); SendMessage(hwnd, WM_ERASEBKGND, (WPARAM) hdc, 0); ReleaseDC(hwnd, hdc);
I get a window that is completely white; maybe I am missing something but I should see a small brown strip at the lower part of the window, corresponding to the caption + menu height, no ?
Yes; actually I realize now that my test app uses the CS_PARENTDC style, which is why I see that. The behavior that you observe is what happens without CS_PARENTDC; so it's actually more complex that I thought, we'll need to explicitly test the CS_PARENTDC flag. Sigh... -- Alexandre Julliard julliard(a)winehq.com
8880
Age (days ago)
8880
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard