![]() |
|
#1
|
|||
|
|||
Invoking a FormView through ButtonHi,
Im using Visual Studio 6.0. In MFC, On the click of the button, i need a formview to be in view. so, i coded like, CPP / C++ / C Code:
this will call, CPP / C++ / C Code:
In Replace View im calling the view and replacing it. CPP / C++ / C Code:
like debug assertion failed! File: ViewForm.cpp Line 69. I could understand that the template that im sending to CFormView is wrong. so i changed the Dialog Template settings to Style =Child and Border = None. Could any one help me in this? Is this is the rt way or is there any other simple way to invoke a new FormView through buttons? Last edited by LuciWiz : 05-Jan-2009 at 07:28.
Reason: Please insert your C++ code between [cpp] & [/cpp] tags
|
|||
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change the caption on button when clicked | drewdaman | MS Visual C++ / MFC Forum | 5 | 31-May-2009 21:56 |
| to close Console using close button crash | sankari27 | MS Visual C++ / MFC Forum | 0 | 22-Apr-2008 04:11 |
| Button class | Spidy08 | FLTK Forum | 8 | 25-Aug-2006 02:52 |
| Server Button Control execute twice | bluebeta | .NET Forum | 2 | 12-Jun-2006 10:25 |
| Group Round buttons (radio buttons) | toaster | FLTK Forum | 1 | 03-Jan-2006 07:57 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The