Symptoms
When a wizard window (CPropertyShet) is popped up to the screen while CCommandBar’s popup menu is active, the windows lock up, as if SetCapture was called without pairing ReleaseCapture, until the application is reactivated using mouse after activating another application.
Mispaired SetCapture is however not not called from command bar class directly, it is rather called from menu class. Dialogs and message boxes do not have the effect, when popped up menu is automatically closed before modal window appears on the screen.
Solution
The issue is being investigated.
To avoid the problem it is possible to check m_CommandBar.m_bMenuActive that indicates active TrackPopupMenu and avoid showing modal CPropertyShet until menu is complete.