void CBCGPRibbonButton::EnablePopupDialog | ( | CRuntimeClass * | pRTI, |
LPCTSTR | lpszTemplateName, | ||
BOOL | bIsResizable = FALSE , |
||
BOOL | bIsDefaultCommand = FALSE , |
||
BOOL | bIsRightAligned = FALSE |
||
) |
Enables the popup dialog associated with this button.
pRTI | The popup dialog runtime class. Should be derived from CBCGPDialog |
lpszTemplateName | The popup dialog resource name. |
bIsResizable | Specifies whether the popup dialog is resizable or not. |
bIsDefaultCommand | Specifies whether the button can still execute its command (TRUE), or always displays popup dialog (FALSE). |
bIsRightAligned | Specifies whether the popup dialog is right-aligned or not. |