Modeless CPropertySheet Style WS_CHILD Issue.
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a class
CMyPropertySheet
derived fromCPropertySheet
. I have added a CButton control and a CToolbar on this propertysheet. I have also added command handlers for the button and toolbar buttons. I have created property sheet as modeless propertysheet with WS_CHILD style set. Handler for button gets called, however, the toolbar is never gets enabled. I see that the toolbar is in disabled state. If I remove the WS_CHILD style from CMyPropertySheet creation, everything works fine, as expected. Any help would be highly appreciated. Regards, Paresh.