F
Frank
I do the following to pick a font.
Each letter this creates is displayed in a small solid colored rectangle.
Instead, I'd like the background image to show around the letters
Is there an easy change that would make the area around the letters
transparent.
Thanks
SavedTextColor=SetTextColor(hdcPaint, TextColor);
SavedBkColor=SetBkColor(hdcPaint,HighlightColor);
memset(&lfLogicalFont, 0, sizeof(LOGFONT));
lstrcpy(lfLogicalFont.lfFaceName, "Courier New");
lfLogicalFont.lfHeight=long(ZoomFactor*cyClient/30);
hFont=CreateFontIndirect(&lfLogicalFont);
hFontOld = SelectFont(hdcPaint, hFont);
Each letter this creates is displayed in a small solid colored rectangle.
Instead, I'd like the background image to show around the letters
Is there an easy change that would make the area around the letters
transparent.
Thanks
SavedTextColor=SetTextColor(hdcPaint, TextColor);
SavedBkColor=SetBkColor(hdcPaint,HighlightColor);
memset(&lfLogicalFont, 0, sizeof(LOGFONT));
lstrcpy(lfLogicalFont.lfFaceName, "Courier New");
lfLogicalFont.lfHeight=long(ZoomFactor*cyClient/30);
hFont=CreateFontIndirect(&lfLogicalFont);
hFontOld = SelectFont(hdcPaint, hFont);