i used GetWindowDC within WM_NCPAINT But Client area was painted Too.
Please explain , How I can draw custom window .
Thanks .
How i can draw custom window with c++ %26amp; win32 API ( NO MFC )?
Besides WM_NCPAINT, there is also WM_PAINT message.
Windows objects are organized hierarchically. It means, when *parent* window receives WM_PAINT, it automatically draws all *child* windows.
Maybe, you will need to use ModifyStyle function to set WS_CLIPCHILDREN and/or WS_CLIPSIBLINGS parent style.
Sorry, it is a bit difficult to help you without seeing even a small piece of code.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment