On 2/27/2018 12:14 AM, Fabian Maurer wrote:
- SendMessageA(progress, PBM_SETSTEP, TEST_STEP_SMALL, 0);
- SendMessageA(progress, PBM_STEPIT, 0, 0);
Maybe have this as SETPOS instead?
- for (i = 1; i < 15; i++)
- {
pos_actual = SendMessageA(progress, PBM_STEPIT, 0, 0);
That's previous position, not actual/current.