"Dmitry Timoshkov" <[EMAIL PROTECTED]> writes: > Alexandre, I understand that you want to separate the drawing code from > such cases and prevent a possible breakage of win31/etc. drawing code. > But that's how it's done in Windows. It's up to you, if you wish, to > replace the NC_DrawCloseButton95 call by RedrawWindow(RDW_FRAME) if you > still think that it's cleaner to do.
I think it's much better, drawing directly will cause a lot of problems, especially when called from another thread context. Unless you really have an app that depends on not getting a WM_NCPAINT here I see no reason not to use the normal mechanisms. -- Alexandre Julliard [EMAIL PROTECTED]