BCGSuite for MFC
BCGCBPRODLLEXPORT UINT BCGM_ON_CLOSEPOPUPWINDOW

This message is sent to an owner of CBCGPPopupWindow when user presses close button on the window caption.

Parameters
wParamThis parameter is not used.
lParamPoints to a window whose close button is pressed (CBCGPPopupWindow).
Returns
The return value is ignored.

Process this message to be notified about pressing of close button.