Friday, September 26, 2003

Property Sheets

I playing with WTL's PropertySheets and with my surprise I found out that if you embed only and ActiveX control or you subclass the only one item in the property page, on win XP you will have a very awful effect, the property sheet seems to be filled with the wrong, old dialog color.

To overcome this behavior you can insert a static control and make it invisible and the problem will vanish. If you already have other control on the dialog (like buttons, edit controls, etc.) you will not suffer from the problem.

No comments: