看看
BOOL DrawFrameControl(    HDC hdc,  // handle to device context
    LPRECT lprc, // pointer to bounding rectangle
    UINT uType, // frame-control type
    UINT uState // frame-control state
   );