Monday, May 24, 2010

In Visual C++; Microsoft Foundation Classes; Progress control; can it display a percentage number?

I am doing a screen with a report, using a progress control to depict a percentage magnitude from zero to 100 pecent with the SetPos(xx) method. Can I also place a number like "60%" inside the control. You see this on download completion bars and such. SetWindowText("60") does NOT work. How do I do this?

In Visual C++; Microsoft Foundation Classes; Progress control; can it display a percentage number?
yes you can. you just need to get the appropriate method and use it.


i have done it before, but at the moment dont remember what method i used.

petunia

No comments:

Post a Comment