BCGControlBar Pro for MFC
BOOL CBCGPPopupMenu::IsCustomizePane ( )
inline

Indicates whether the popup menu is working as a QuickCustomizePane.

Returns
Nonzero if the popup menu is working as a QuckCustomizePane, otherwise 0.

Indicates whether the popup menu is working as a QuickCustomizePane.

QuickCustomizePane is used for quick toolbar customization and automatically created by the framework. You can test a popup menu for QuickCustomizePane when processing CBCGPFrameWnd::OnShowCustomizePane.