In a test application, I have a progress bar defined in one of my dialog boxes. In order for CreateDialog to succeed, I need to add comctl32.lib to my project, and also call InitCommonControlsEx with the appropriate data.
However, what bugs me a lot is that I have already used a progress bar in another application that does none of this. It is an application that I created from scratch in the same environment (VC++7.1), with the same tools (resource editor). I have checked to ensure that comctl32.lib has not been added, and I make no calls to either InitCommonControlsEx or its predecessor InitCommonControls.
My question: How is it possible to use a progress bar in a dialog without using comctl32.lib or InitCommonControls(Ex)?
For once, I am actually distraught on why something is working when I think it shouldn't.
Thanks for any information.
(P.S. I already posted this to another forum, but no one was able to help me)