ProgressBarView_t::Draw

This method draws the entire progress bar.

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 Values

None.

Requirements

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

See Also

ProgressBarView_t | COLORREF

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.