5 Dec
2004
5 Dec
'04
4:33 a.m.
"Filip Navara" <xnavara(a)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.