if (gP.bWheel)
{
WCHAR wWheel[MAX_PATH] = { 0 };
WCHAR wtmpWheel[MAX_PATH] = { 0 };
if (gP.zoom < 10)
{
_snwprintf_s(wtmpWheel, MAX_PATH, 259, L"%I64u Zoom", gP.zoom);
Str_Combine(wWheel, L"0", wtmpWheel);
}
else
_snwprintf_s(wWheel, MAX_PATH, 259, L"%I64u Zoom", gP.zoom);
DrawTextToDC(gP.OverlayDC, (WCHAR*)wWheel, rc.left, rc.top, nColor, gP.FontName, 36, n3D, ZD_TextHorzUp, gP.PrivateFont);
gP.bWheel = FALSE;
}
else if (gP.bVolume)
{
WCHAR wVolume[MAX_PATH] = { 0 };
WCHAR wtmpVolume[MAX_PATH] = { 0 };
int volume = (int)SendMessage(gP.hTBVolume, TBM_GETPOS, 0, 0);
if (volume < 100)
{
_snwprintf_s(wtmpVolume, MAX_PATH, 259, L"%d Vol", volume);
Str_Combine(wVolume, L"0", wtmpVolume);
}
else
_snwprintf_s(wVolume, MAX_PATH, 259, L"%d Vol", volume);
DrawTextToDC(gP.OverlayDC, (WCHAR*)wVolume, rc.left, rc.top, nColor, gP.FontName, 36, n3D, ZD_TextHorzUp, gP.PrivateFont);
}
else
DrawTextToDC(gP.OverlayDC, (WCHAR*)OverlayTime, rc.left, rc.top, nColor, gP.FontName, 36, n3D, ZD_TextHorzUp, gP.PrivateFont);