Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug Assertion Failed! Pin
Tim Smith28-Apr-02 3:35
Tim Smith28-Apr-02 3:35 
QuestionBegginer - More than one dialog box? Pin
28-Apr-02 0:28
suss28-Apr-02 0:28 
AnswerRe: Begginer - More than one dialog box? Pin
Tom Archer28-Apr-02 0:39
Tom Archer28-Apr-02 0:39 
AnswerRe: Begginer - More than one dialog box? Pin
Paul M Watt28-Apr-02 5:56
mentorPaul M Watt28-Apr-02 5:56 
GeneralQueryDef problem... Pin
Kemal OZLU27-Apr-02 22:52
Kemal OZLU27-Apr-02 22:52 
GeneralCascadeWindows and TileWindows Pin
nilaysoft27-Apr-02 22:45
nilaysoft27-Apr-02 22:45 
GeneralRe: CascadeWindows and TileWindows Pin
Paul M Watt28-Apr-02 5:59
mentorPaul M Watt28-Apr-02 5:59 
GeneralRe: CascadeWindows and TileWindows Pin
Priya_Sundar5-Feb-09 17:55
Priya_Sundar5-Feb-09 17:55 
QuestionDisplaying CFormView? Pin
mohanrajh27-Apr-02 22:16
mohanrajh27-Apr-02 22:16 
AnswerRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 22:27
Tom Archer27-Apr-02 22:27 
GeneralRe: Displaying CFormView? Pin
mohanrajh27-Apr-02 23:00
mohanrajh27-Apr-02 23:00 
GeneralRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 23:10
Tom Archer27-Apr-02 23:10 
GeneralRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 23:29
Tom Archer27-Apr-02 23:29 
GeneralRe: Displaying CFormView? Pin
mohanrajh27-Apr-02 23:52
mohanrajh27-Apr-02 23:52 
GeneralRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 23:57
Tom Archer27-Apr-02 23:57 
GeneralRe: Displaying CFormView? Pin
mohanrajh28-Apr-02 0:22
mohanrajh28-Apr-02 0:22 
GeneralRe: Displaying CFormView? Pin
Tom Archer28-Apr-02 0:35
Tom Archer28-Apr-02 0:35 
GeneralRe: Displaying CFormView? Pin
mohanrajh29-Apr-02 1:36
mohanrajh29-Apr-02 1:36 
GeneralRe: Displaying CFormView? Pin
Tom Archer29-Apr-02 3:08
Tom Archer29-Apr-02 3:08 
mohanrajh wrote:
Thanks for Ur step by step instruction, will try to do it

You're welcome

mohanrajh wrote:
to display the window(CFormView) when the 'Button' is pressed,i.e. displaying from one view(window) to another. can i have some tips for this

Same code. Just add the handler and inser the call to CreateOrActivateFrame

mohanrajh wrote:
Whenever the new child is created in your Demo ,it is not destroyed

When you call CWinApp::AddDocTemplate, the document pointer is added to the application's CDocManager m_templateList (a CPtrList object). When the CDocManager is destructed it walks this list, deleting all document templates from memory. Therefore, if you attempt to delete the entry without removing it from the list, you'll actually cause a GPF as the CDocManager will exepect it to be there.

mohanrajh wrote:
so it is addying up to the new window, so when the menu option 'New' is selected it just shows a listbox with several number of option to choose from.
is their any rectification?


Sorry. I didn't understand this question.

Cheers,
Tom Archer
Author, Inside C#

A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
GeneralRe: Displaying CFormView? Pin
mohanrajh1-May-02 21:21
mohanrajh1-May-02 21:21 
GeneralInitialize static member variable in DLL Pin
Jack Hui27-Apr-02 19:43
Jack Hui27-Apr-02 19:43 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 20:39
Tom Archer27-Apr-02 20:39 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 20:45
Tom Archer27-Apr-02 20:45 
GeneralRe: Initialize static member variable in DLL Pin
Jack Hui27-Apr-02 21:11
Jack Hui27-Apr-02 21:11 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 21:24
Tom Archer27-Apr-02 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.