Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Retrieves the current position of the progress bar.
int GetPos( );
Return Value
The position of the progress bar control.
Remarks
The position of the progress bar control is not the physical location on the screen, but rather is between the upper and lower range indicated in SetRange.
Example
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);
Requirements
Header: afxcmn.h