Click here to Skip to main content
15,900,636 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Initialize static member variable in DLL Pin
Mukkie27-Apr-02 22:00
Mukkie27-Apr-02 22:00 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 22:12
Tom Archer27-Apr-02 22:12 
GeneralRe: Initialize static member variable in DLL Pin
Mukkie27-Apr-02 22:23
Mukkie27-Apr-02 22:23 
GeneralRe: Initialize static member variable in DLL Pin
Jack Hui28-Apr-02 3:32
Jack Hui28-Apr-02 3:32 
GeneralAssertion Failure in CDateTime Control Pin
Gaurika Wijeratne27-Apr-02 19:19
Gaurika Wijeratne27-Apr-02 19:19 
GeneralRe: Assertion Failure in CDateTime Control Pin
Michael Dunn28-Apr-02 2:48
sitebuilderMichael Dunn28-Apr-02 2:48 
GeneralRe: Assertion Failure in CDateTime Control Pin
Gaurika Wijeratne28-Apr-02 7:22
Gaurika Wijeratne28-Apr-02 7:22 
GeneralRe: Assertion Failure in CDateTime Control Pin
Tom Archer28-Apr-02 4:20
Tom Archer28-Apr-02 4:20 
QuestionHow do I deploy riched20.dll? Pin
Oz Ben Eliezer27-Apr-02 13:14
Oz Ben Eliezer27-Apr-02 13:14 
AnswerRe: How do I deploy riched20.dll? Pin
Tim Smith27-Apr-02 13:38
Tim Smith27-Apr-02 13:38 
AnswerRe: How do I deploy riched20.dll? Pin
Tom Archer27-Apr-02 13:42
Tom Archer27-Apr-02 13:42 

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.