Ticket S32808
Visible to All Users

RAD Studio 2009 and later - Support skinning for the dialogs that are invoked by the ShowMessage(), MessageDlg(), InputBox(), and InputQuery() methods in Windows Vista and Windows 7

Answers approved by DevExpress Support

created 15 years ago (modified 11 years ago)

We found out that this problem was introduced in RAD Studio 2009 and still persists in RAD Studio 2010. By default, these IDEs use new Vista-style dialogs in Windows Vista and Windows 7 if Windows themes and IDE runtime themes are enabled. So, if these conditions are met, Vista-style dialogs are shown, which appear as if they are not skinned. To work around the problem, you can disable themes or prevent the IDE from using Vista-style dialogs via the Dialogs.UseLatestCommonDialogs option, as shown below:

Delphi
Dialogs.UseLatestCommonDialogs := False; // Enables standard style dialogs

Until the suggestion is implemented, we recommend that you use this workaround in your skinned applications.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.