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


CProgressCtrl::GetState

Gets the state of the current progress bar control.

int GetState() const;

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

The state of the current progress bar control, which is one of the following values:

Value

State

PBST_NORMAL

In progress

PBST_ERROR

Error

PBST_PAUSED

Paused

Заметки

This method sends the PBM_GETSTATE message, which is described in theWindows SDK.

Требования

Header: afxcmn.h

This control is supported in Windows Vista and later.

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

См. также

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

CProgressCtrl Class

Hierarchy Chart

Using CProgressCtrl

PBM_GETSTATE

CProgressCtrl::SetState