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

Enables the popup dialog associated with this button.

pRTIThe popup dialog runtime class. Should be derived from CBCGPDialog
nIDTemplateThe popup dialog resource ID.
bIsResizableSpecifies whether the popup dialog is resizable or not.
bIsRightAlignedSpecifies whether the popup dialog is right-aligned or not.