THis is the way I do it:
// now render the icon
int xSize = (pDC->GetDeviceCaps(LOGPIXELSX) \* 16) / 96; // a screen display gives us 96dpi, scale the same for device(s)
int ySize = (pDC->GetDeviceCaps(LOGPIXELSY) \* 16) / 96;
::DrawIconEx(pDC->m\_hDC, x - (xSize / 2), y - (ySize / 2), m\_pTemplate->GetIcon(), xSize, ySize, 0, NULL, DI\_IMAGE | DI\_MASK);
This will scale correctly for a preview and a print. although I have seen problems on some printers etc which do not use the mask correctly :( Roger Allen - Sonork 100.10016 Strong Sad: Clever I am? Next to no one. Undiscovered and soggy. Look up. Look down. They're around. Probably laughing. Still, bright, watery. Listed among the top. Ten. Nine. Late night. Early morn. Early mourn. Now I sleep.