PBM_SETMARQUEE message

Sets the progress bar to marquee mode. This causes the progress bar to move like a marquee.

Parameters

wParam

Indicates whether to turn the marquee mode on or off.

lParam

Time, in milliseconds, between marquee animation updates. If this parameter is zero, the marquee animation is updated every 30 milliseconds.

Return value

Always returns TRUE.

Remarks

Use this message when you do not know the amount of progress toward completion but wish to indicate that progress is being made.

Send the PBM_SETMARQUEE message to start or stop the animation.

Note

You must set the control style to PBS_MARQUEE before attempting to start the animation.

Note

This message requires ComCtl32.dll version 6.00 or later.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h