Hello everybody, I am a beginner in Windows programming.
I used the Wizard for "simple dialog based application" and it created a program with a dialog that has an OK button.
My problem is that I do not understand how to use controls that I add to the dialog.
For example, if I add a progress bar to the dialog, then how do I access it from WM_INITDIALOG to fill it to 50%?
Normally I should use SendMessage() to the progress bar's handle, but what is the handle?
In other words: how to get the handles for the controls added to the dialog, or is there another way to do things?