BCGSuite for MFC
void CBCGPCircularGaugeImpl::AddSubGauge ( CBCGPGaugeImpl pGauge,
BCGP_SUB_GAUGE_POS  pos,
const CBCGPSize size = CBCGPSize(),
const CBCGPPoint ptOffset = CBCGPPoint(),
BOOL  bAutoDestroy = TRUE 
)

Adds a sub-gauge.

pos can be one of the following enumerated values:

  • BCGP_SUB_GAUGE_NONE - position is specified by ptOffset
  • BCGP_SUB_GAUGE_TOP - sub-gauge on top
  • BCGP_SUB_GAUGE_BOTTOM - sub-gauge on bottom
  • BCGP_SUB_GAUGE_LEFT - sub-gauge on left
  • BCGP_SUB_GAUGE_RIGHT - sub-gauge on right
Parameters
pGaugeA pointer to an existing subgauge.
posSub-gauge position.
sizeSub-gauge size. If size is empty, the default (gauge-specific size) will be used.
ptOffsetIf pos is BCGP_SUB_GAUGE_NONE, ptOffset specifies offset from the top-left corner; otherwise, it specifies offset from the given position
bAutoDestroyTRUE if sub-gauge should be automatically destroyed by parent; FALSE - otherwise