windows_programming_notes.nbk: Home | Index | Next Page: PBM_STEPIT | Previous Page: PBM_SETRANGE32


 PBM_SETSTEP

Specifies the step increment for a progress bar. The step increment is the amount by which the progress bar increases its current position whenever it receives a PBM_STEPIT message. By default, the step increment is set to 10.

Syntax

To send this message, call the SendMessage function as follows.

    lResult = SendMessage(       // returns LRESULT in lResult
        (HWND) hWndControl,      // handle to destination control
        (UINT) PBM_SETSTEP,      // message ID
        (WPARAM) wParam,         // = (WPARAM) (int) nStepInc;
        (LPARAM) lParam          // = 0; not used, must be zero
    );  

Parameters

Return Value

Returns the previous step increment.

Message Information


windows_programming_notes.nbk: Home | Index | Next Page: PBM_STEPIT | Previous Page: PBM_SETRANGE32


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time