I have a propertysheet with several pages in the application I am working with. The problem is that I can not disable/remove the "default" property for the default button on some of the pages (I do not want any of the buttons on the property pages to be default buttons since the default button is defined in the properysheet for all pages). It seems that when there is only one button on the page, that buttons is made the default button automatically.
If I look in the resource editor, the "default" property is NOT checked for any of the buttons. I have even tried the code snippet below to remove the "default" property if it is set but nothing seems to work.