BCGControlBar Pro for MFC
void CBCGPRibbonButton::EnablePopupDialog ( CRuntimeClass *  pRTI,
UINT  nIDTemplate,
BOOL  bIsResizable = FALSE,
BOOL  bIsDefaultCommand = FALSE,
BOOL  bIsRightAligned = FALSE 
)

Enables the popup dialog associated with this button.

Parameters
pRTIThe popup dialog runtime class. Should be derived from CBCGPDialog
nIDTemplateThe popup dialog resource ID.
bIsResizableSpecifies whether the popup dialog is resizable or not.
bIsDefaultCommandSpecifies whether the button can still execute its command (TRUE), or always displays popup dialog (FALSE).
bIsRightAlignedSpecifies whether the popup dialog is right-aligned or not.