Поделиться через


CProgressCtrl::SetMarquee

Turns marquee mode on or off for the current progress bar control.

BOOL SetMarquee(
      BOOL fMarqueeMode, 
      int nInterval
);

Параметры

Parameter

Description

[in] fMarqueeMode

true to turn marquee mode on, or false to turn marquee mode off.

[in] nInterval

Time in milliseconds between updates of the marquee animation.

Возвращаемое значение

This method always returns true.

Заметки

When marquee mode is turned on, the progress bar is animated and scrolls like a sign on a theater marquee.

This method sends the PBM_SETMARQUEE message, which is described in the Windows SDK.

Требования

Header: afxcmn.h

This control is supported in Windows XP and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

См. также

Основные понятия

CProgressCtrl Class

CProgressCtrl Members

Hierarchy Chart

PBM_SETMARQUEE

Using CProgressCtrl