BCGControlBar Pro for MFC
void CBCGPMenuButton::EnablePopupDialog ( CRuntimeClass *  pRTI,
LPCTSTR  lpszTemplateName,
BOOL  bIsResizable = FALSE,
BOOL  bIsRightAligned = FALSE 
)

Enables the popup dialog associated with this button.

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