1 Attachment(s)
OK and CANCEL MFC CDialog's button
In my MFC Dialog application, all buttons look fine except the Ok and Cancel button. They have a black border. Not sure from where does this black enclosing border comes from. It is visible when I execute the application as well as in the Dialog Resource Editor. I have provided a manifest file to include the XP Visual Style.
How do I get rid of this black border?
I am using XP 2005
Here is the view:
Re: OK and CANCEL MFC CDialog's button
Looks like you have the "default" button style checked for both ok and cancel.
Kurt
Re: OK and CANCEL MFC CDialog's button
Another approach is you can paint the button by your own.