BCGControlBar Pro for MFC
BOOL CBCGPRibbonCommandSearchOptions::m_bSearchInHiddenCategories

Specifies whether commands from the hidden categories should be included in the search results or not.