WinXP Visual Styles in Wizard

Wizard for Windows Forms Forum

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
Avatar
There's probably something very small that I'm overlooking, but the Wizard buttons (Back, Next, etc) do not draw with WinXP Visual Styles on my machine. I've included a manifest with my application, but it doesn't have an effect on Wizard.

Any quick ideas??

Comments (4)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I believe you have to set the Wizard.ButtonFlatStyle property. That changes the FlatStyle property of all the buttons.


Actipro Software Support

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
Avatar
That, of course, did the trick. Thanks!
Posted 19 years ago by Kuzmik Maxim - Russian, Saint-Petersburg
Avatar
Sorry, but what kind of this property I must set, that the button is in WinXP style?
Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
It's just like any other Button.FlatStyle property... set it to FlatStyle.System to get the XP look as long as you have a manifest in your application.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.