Coder's Guild Mailing List

RE: Minimize box on a toolbar window

Posted by John Lockwood on 2000-03-31

Have you looked into SetWindowLong/GetWindowLong and also (believe 
it or not SetClassLong/GetClassLong).  I seem to remember that solving a
similar issue with SetClassLong one time.

If not, you may be into WM_NCPAINT, e.g....

case WM_NCPAINT:
{
    HDC hdc;
    hdc = GetDCEx(hwnd, (HRGN)wParam, DCX_WINDOW|DCX_INTERSECTRGN);
    // Paint into this DC
    ReleaseDC(hwnd, hdc);
}


John Lockwood
Toll Free:  1 (888) 784-9160
Sign up for the FREE newsletter
Internet Programming Today at:
http://www.particlewave.com

To signoff send a mail to listserver@xxxx.xx.xx with 
  "signoff tcg" in the body of your message.