Progress Bar MFC c++ 6.0
<p>i have designed an application in mfc that carries out brute force attack for all possible combinations for a 2d matrix. i have done it recursively . now what is want is to show a progress bar on the dialog to work when the button start brute force is clicked. am new to mfc so kindly help me!! early replies would be appreciated!</p>

<p>Suppose there is the dialog box. progress bar is below the ok and cancel button . i want that suppose that there is a button apply brute force just like ok button as soon as it is clicked the progress bar starts to update with the working of my algorithm!!</p>
