COMCTL32: Minor corrections
Dmitry Timoshkov
dmitry at baikal.ru
Sat Dec 4 22:33:11 CST 2004
"Filip Navara" <xnavara at volny.cz> 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.
More information about the wine-devel
mailing list