/* finally, draw the dern thing */
Polygon(hdc, (LPPOINT)&Point, 4);
/* finally, draw the dern thing */
Polygon(hdc, (LPPOINT)&Point, 4);
GetClientRect(hwnd, &rc1);
/* draw a black border on the _outside_ */
GetClientRect(hwnd, &rc1);
/* draw a black border on the _outside_ */
/* we want to draw _just inside_ the black border */
InflateRect(&rc1, -1, -1);
/* we want to draw _just inside_ the black border */
InflateRect(&rc1, -1, -1);
InflateRect(&rc1, ~(pgauge->wWidth3D), ~(pgauge->wWidth3D));
/* draw a black border on the _inside_ */
InflateRect(&rc1, ~(pgauge->wWidth3D), ~(pgauge->wWidth3D));
/* draw a black border on the _inside_ */
/* we want to draw _just inside_ the black border */
InflateRect(&rc1, -1, -1);
/* we want to draw _just inside_ the black border */
InflateRect(&rc1, -1, -1);
/* build up a string to blit out--ie the meaning of life: "42%" */
wsprintf(ach, "%3d%%", (WORD)((DWORD)iPos * 100 / iRange));
/* build up a string to blit out--ie the meaning of life: "42%" */
wsprintf(ach, "%3d%%", (WORD)((DWORD)iPos * 100 / iRange));
case WM_SETFONT:
/* if NULL hFont, use system font */
if (!(hFont = (HFONT)wParam))
case WM_SETFONT:
/* if NULL hFont, use system font */
if (!(hFont = (HFONT)wParam))