Compartilhar via


ProgressBarView_t::Draw (Windows CE 5.0)

Send Feedback

This method draws the entire progress bar.

static void Draw(HWND hwnd,HDC hdcIn,DWORD dwStyle,int iLow,intiHigh,int iPos,COLORREFclrHighlight);

Parameters

  • hwnd
    [in] Handle to the control window.
  • hdcIn
    [in] Handle to the device context for the window.
  • dwStyle
    [in] DWORD that indicates the style of the progress bar. PBS_VERTICAL indicates a vertical progress bar. PBS_SMOOTH displays progress status in a smooth scrolling bar instead of the default segmented bar. Any other value indicates a horizontal progress bar.
  • iLow
    [in] Integer that specifies the lower limit of the range for the progress bar.
  • iHigh
    [in] Integer that specifies the upper limit of the range for the progress bar.
  • iPos
    [in] Integer that specifies the position of the progress bar slider.
  • clrHighlight
    [in] Value of type COLORREF that specifies the COLOR_HIGHLIGHT system color value for drawing the progress bar.

Return Values

None.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Progressview.hpp.

See Also

ProgressBarView_t | COLORREF

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.