BCGControlBar Pro for MFC
virtual void CBCGPLinearGaugeImpl::OnDrawTickMark ( CBCGPGraphicsManager pGM,
const CBCGPPoint ptFrom,
const CBCGPPoint ptTo,
CBCGPGaugeScaleObject::BCGP_TICKMARK_STYLE  style,
BOOL  bMajor,
double  dblVal,
int  nScale,
const CBCGPBrush brFill = CBCGPBrush(),
const CBCGPBrush brOutline = CBCGPBrush() 
)
virtual

Called to draw tick mark.

Override in a derived class to customize the tick mark appearance.

Parameters
pGMA pointer to a graphics manager.
ptFromFirst tick mark coordinate.
ptToSecond tick mark coordinate.
styleTick mark style.
bMajorTRUE if tick nark is a "major", FALSE - otherwise.
dblValSpecifies a scale value where tick mark is displayed.
nScaleA corresponding scale index in the gauge scales list.
brFillTick mark fill color.
brOutlineTick mark outline color.