Nonzero if the specified category has been activated; otherwise 0. The function fails if the specified category can't be activated (main category, for example), or is not present in the list of categories.
Use this function to activate a category.
Parameters
pCategory
Specifies a category to activate.
bForceRestore
If this parameter is TRUE, the ribbon bar will be restored from minimized state.