CProgressCtrl::GetPos
진행률 표시줄의 현재 위치를 검색합니다.
int GetPos( );
반환 값
진행률 표시줄 컨트롤의 위치입니다.
설명
진행률 표시줄 컨트롤의 위치 화면에서 실제 위치 하지는 않지만 대신 상단 사이의 낮은 범위에 표시 됩니다 SetRange.
예제
CProgressCtrl myCtrl;
// Create a child progress control.
myCtrl.Create(WS_CHILD|WS_VISIBLE, CRect(10,10,200,30), pParentWnd,
IDC_PROGRESSCTRL);
// Set the new position to half of the current position.
myCtrl.SetPos(myCtrl.GetPos()/2);
요구 사항
헤더: afxcmn.h