[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
MeterPaint( hWnd, hDC, nActual, nTotal, nPercentage, cText, lPercentage,;
nClrPane, nClrText, nClrBar, nClrBackText, hFont )-> 0
------------------------------------------------------------------------------
PARAMETER:
<hWnd> Is the handle that identifies the control being painted
<hDC> The device context handle of that window
<nActual> The actual value represented by the meter
<nTotal> The total value represented by the meter
<nPercentage> The percentage value represented by the meter
<cText> A text to be displayed inside the meter
<lPercentage> TRUE if the percentage has to be displayed
<nClrPane> 4 different RGB colors to use to paint all different
<nClrText> components.
<nClrBar>
<nClrBackText>
<hFont> The handle of the font to be used to display <cText>
DESCRIPTION:
This function is used by FiveWin's TMETER class to paint the progress bar.
It is coded in C to speed up the process. For an usage example, please see the
SAMPLE\Install.prg file.
SOURCE:
SOURCE\FUNCTION\METPAINT.C
See Also:
TMETER
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson