UCHAR uCharacterRow;
UCHAR uBit;
WCHAR szInfoText[9];
+ HBITMAP hBitmapOld;
// Preparations
hBoxDC = CreateCompatibleDC(NULL);
- SelectObject(hBoxDC, Info->MainWndInfo->hBoxBmp);
+ hBitmapOld = SelectObject(hBoxDC, Info->MainWndInfo->hBoxBmp);
hFont = CreateFontW(13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, L"Tahoma");
hOldFont = SelectObject(ps->hdc, hFont);
}
}
+ SelectObject(hBoxDC, hBitmapOld);
SelectObject(ps->hdc, hOldFont);
DeleteObject(hFont);
SelectObject(ps->hdc, hOldBrush);