How to change the SIZE of a progress bar at runtime, not the percentage that it is filled.

I’m working in C++ do you know the classes these are derived from?