"Filip Navara" <[EMAIL PROTECTED]> wrote:
> >> - DrawEdge(NULL, &(infoPtr->rcDraw), EDGE_SUNKEN, BF_RECT | BF_ADJUST);
> >> + /* subract the size of the edge drawn by DrawEdge */
> >> + InflateRect(&infoPtr->rcDraw, -2, -2);
> >
> > Please use GetSystemMetrics(SM_CXEDGE) and GetSystemMetrics(SM
Robert Shearman wrote:
Filip Navara wrote:
- /* use DrawEdge to adjust the size of rcEdge to get rcDraw */
memcpy((&infoPtr->rcDraw), (&infoPtr->rcClient),
sizeof(infoPtr->rcDraw));
- DrawEdge(NULL, &(infoPtr->rcDraw), EDGE_SUNKEN, BF_RECT | BF_ADJUST);
+ /* subract the size of the edge draw
Filip Navara wrote:
Changelog:
- Tooltip icons must be destroyed with DestroyIcon and not with
DeleteObject.
- Don't use DrawEdge with NULL device context, it's invalid call and
sets last error.
Index: lib/comctl32/datetime