Partager via


ProgressBarView_t::Draw (Windows Embedded CE 6.0)

1/6/2010

This method draws the entire progress bar.

Syntax

static void Draw(
  HWND hwnd,
  HDC hdcIn,
  DWORD dwStyle,
  int iLow,
  int iHigh,
  int iPos,
  COLORREF clrHighlight
);

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 Value

None.

Requirements

Header progressview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ProgressBarView_t
COLORREF