SetMarquee method
Available for ProgressBar objects.
Prototype
SetMarquee Proto hWnd:HWND, bMarquee:BOOL, lMilliSeconds:LONG
Syntax
Invoke SetMarquee, hWnd, bMarquee, lMilliSeconds
Function
Sets the marquee mode for a ProgressBar object.
Parameters
hWnd
Handle to the ProgressBar object whose marquee mode is to be set.
bMarquee
A BOOL value specifying whether to start (TRUE) or stop (FALSE) the marquee mode.
lMilliSeconds
A LONG value specifing the time, in milliseconds, between marquee animation updates. If this parameter is zero, the marquee animation is updated every 30 milliseconds.
Return value
Eax/Rax returns -1 if the marquee mode could not be set, otherwise it returns TRUE.
REMARKS:
This method has no effect if the Scrolling
property is not set to "2 Marquee", or Common
controls 6.0 are not activated (Windows XP and later only).