Hi,
After switching to Vista I've noticed that all my forms that have the ToolbarManager, and where the FormDisplayStyle is set to RoundedSizable, are not working properly.
All my forms have a ToolbarManager in order to get the the Office 2007 look, the UseOSThemes property is set to False, and the Form Border style is Sizable.
Still when I lauch the form, Vista somehow overrides the values and displays the original, fancy, Vista form borders.
If I set the ToolbarManager's property FormDisplayStyle to RoundedFixed, the form will then show properly when I run it (the Office 2007 style).
Is there a way to fix this?Thanks in advance
There was actually a property added to the ToolbarManager called IsGlassSupported; I think it was added in the 7.3 release, so you could set this property to False to prevent glass from being drawn on the form.
-Matt
Oh man I whish I had refreshed this topic before I sent the feature request :)
It worked, thanks! :)
I was not able to reproduce this. It sounds like a few bug fixes which were made to the status bar element positioning logic for the Vista Aero theme. It is possible the problem you are experiencing is a duplicate of one of these fixed issues. Try downloading the latest hotfix for the version you are using to see if it fixes your issue.
I know this topic is a little stale, but it's almost exactly my issue. I have the desired behavior with IsGlassSupported, but on Vista, the form borders are drawn "weird". The ribbon status bar at the bottom is separated from the form by a horizontal black line that goes all the way across throught both left and right borders (like they are drawn on top of one another...). On XP the status bar divider is not drawn through the borders.
Any suggestions?
Thanks.