主题:程序求改 使输出放大10倍
CDC* pDC=GetDC();
GetClientRect(&rect);
if (m_bTimerOverrun == FALSE)
sprintf(m_szBuffer, "data = %10.6f", m_fVoltage);
else
sprintf(m_szBuffer, "Timer Overrun! data = %10.6f", m_fVoltage);
RedrawWindow();
pDC->DrawText(m_szBuffer,&rect,DT_SINGLELINE | DT_CENTER | DT_VCENTER);
ReleaseDC(pDC);
不知道这些够不够,怎么改才能放大
GetClientRect(&rect);
if (m_bTimerOverrun == FALSE)
sprintf(m_szBuffer, "data = %10.6f", m_fVoltage);
else
sprintf(m_szBuffer, "Timer Overrun! data = %10.6f", m_fVoltage);
RedrawWindow();
pDC->DrawText(m_szBuffer,&rect,DT_SINGLELINE | DT_CENTER | DT_VCENTER);
ReleaseDC(pDC);
不知道这些够不够,怎么改才能放大