View Single Post
Old Oct 26th, 2005, 4:41 PM   #29
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Uhmm you are supposed to have a loop somewhere, where you do the work, as that progresses, you want it to do:
SendMessage(hwndPB, PBM_STEPIT, 0, 0);
You only do this once in your code, you should do it many times to let it increment the value on the bar.
Show us your new code so we can help again. You don't have to give a special command in the WM_PAINT case.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote