Frame Theme for Child Windows |
Post Reply |
Author | |
ScottW
Groupie Joined: 02 August 2005 Status: Offline Points: 82 |
Post Options
Thanks(0)
Posted: 19 February 2017 at 4:37pm |
When you have an MDI application and you are using a Commandbar theme, the child windows don't take on the theme like they do when you use a skin. I thought this could be fixed in the same way that you apply the frame theme to the frmProperties dialog in the CommandBars\ToolTipContext sample. I added a loop through the forms collection where you do that and tried to use
CommandBars.DisableOffice2007FrameHandle f.hwnd CommandBars.EnableOffice2007FrameHandle f.hwnd in a loop on the MDI child windows. This causes display problems and eventually the app crashes completely. It seems to work ok on other dialogs though. In that sample, if you use Window, Cascade on the menu, you can see the issue with the frames and how they look bad with the more modern themes. Is there some way to safely theme the child windows? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |