Jan-Klaas
May 27th, 1999, 03:10 AM
I would like to display a progress bar in my status bar next to a string of text like
"Processing..." <here the progress bar>
For this reason I tried to calculate the width of the string using
m_wndStatusBar.GetDC()->GetTextExtent(str);
However, the font selected in the device context of the status bar doesn't seem to be the font of the displayed string. GetTextExtent returns a too large value.
Who can help???
"Processing..." <here the progress bar>
For this reason I tried to calculate the width of the string using
m_wndStatusBar.GetDC()->GetTextExtent(str);
However, the font selected in the device context of the status bar doesn't seem to be the font of the displayed string. GetTextExtent returns a too large value.
Who can help???