Dialog Box two OK buttons, two Cancel buttons and TODO still on it 
Author Message
 Dialog Box two OK buttons, two Cancel buttons and TODO still on it

When I create a MFC Application in Visual Studio .NET. Then add a new dialog
resource, then create a class for it, and then move the controls around,
etc. Everything is okay. However when I run my application and view the
dialog box, there is the default OK and CANCEL buttons on it as well as the
OK and CANCEL buttons where I moved them. (Bottom right). Also, along the
bottom of the dialog it says "TODO: PLACE".

Any idea's what is happening?

Here is a link to a picture of my problem
http://www.*-*-*.com/

Thank you for your time.
Sheldon



Thu, 11 Nov 2004 06:52:15 GMT  
 Dialog Box two OK buttons, two Cancel buttons and TODO still on it
Your dialog class is probably using CDHtmlDialog as it's base class.  This
is the default base class and I'm guessing that is because it is
alphabetically first in the list of base classes.  I did the exact same
thing the first time I added a dialog class in VC7.  It was quite annoying!

Dave B


Quote:

> When I create a MFC Application in Visual Studio .NET. Then add a new
dialog
> resource, then create a class for it, and then move the controls around,
> etc. Everything is okay. However when I run my application and view the
> dialog box, there is the default OK and CANCEL buttons on it as well as
the
> OK and CANCEL buttons where I moved them. (Bottom right). Also, along the
> bottom of the dialog it says "TODO: PLACE".

> Any idea's what is happening?

> Here is a link to a picture of my problem
> http://www.starcs.on.ca/images/dialogproblem.jpg

> Thank you for your time.
> Sheldon



Sun, 14 Nov 2004 00:12:57 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How do i create (in runtime) two radio buttons in a group box

2. how to create a window without any close button (include OK button and X button)

3. OK button inside dialog box -- help

4. How to disable OK Button in dialog boxes

5. how to cwreate property sheet with Apply/Ok/Cancel buttons using Create() function

6. OK and Cancel buttons in title bar

7. Property Sheets: OK, Cancel, Apply, Close buttons: How?

8. Change position of OK and Cancel button ?

9. Modal PropertySheet without Ok and Cancel buttons?

10. How to make Cancel button not default button on Wizard Page

11. activating a button on a dialog box from a dialog box

12. Disable Message Box Cancel/X button

 

 
Powered by phpBB® Forum Software