BCGControlBar Pro for MFC
virtual void CBCGPMenuButton::ClosePopupDlg ( BOOL  bOK,
DWORD_PTR  dwUserData = 0 

Called by the framework when the popup dialog is closed.

Default implementation closes the popup dialog.

bOKTRUE if user clicked OK button on the popup dialog, FALSE if not.
dwUserDataUser-defined data. A developer can specify it when CBCGPDialog::ClosePopupDlg method is called.