BCGControlBar Pro for MFC
void CBCGPMiniFrameWnd::ReplaceButton ( UINT  nHit,
UINT  nHitNew 
)
protected

Replaces the caption button.

Parameters
nHitThe old button's code.
nHitNewThe new button's code.