"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_CYEDGE).
> 
> I wanted to do that, but the DrawEdge code uses "1" and "-1" so I 
> modified the code to match it.

Then DrawEdge needs to be fixed to use GetSystemMetrics as well.

-- 
Dmitry.


Reply via email to