Hello,
I added a new dialog in my MDI application. I didn't see any default controls on it except Ok and Cancel buttons. I just placed these buttons at my desired corners. But I saw 2 different sets of OK and Cancel button and a text control "ToDo...." when I call that dialog from a menu command my application. When I looked at the dialog inside IDE, I don't see any extra buttons and the text control . Any idea to get rid of the annoying buttons and text control "ToDo: .....".
Thanks

Dialog box is messing me up!!!
Wellnow
Thank you. I already checked it, but didn't see any strange things. I removed all my controls on dialog and run the appliacation, but I can still see OK, Cancel, and ToDo controls on dialog, and also the background color of the dialog is different to what I see in IDE. I already tried another test project and happened the same thing. Strange.
Any idea
Thanks.
dzn
Thank you. I got it. I mistakenly derived my dialog from HtmlDialog class. Thanks a lot.
MikeBlig
Open the RC file in a text editor (Notepad) and see if anything's looking fishy!
Boris Mueller
What's the base class of your dialog, perhaps you are deriving from a specialized CDialog version that changes the back color and forcefully adds those 2 buttons.