Solved

How to close the CFormView?

Posted on 2004-03-29
6
648 Views
Last Modified: 2013-11-20
Hi, if i doing a application using CFormView, how i'm going to auto close the CFormView after i opened it? what method to do it?
0
Comment
Question by:JerryGan9
  • 2
6 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 20 total points
ID: 10703419
directly from the form view itself
PostMessage(WM_CLOSE, 0, 0L);

else
pFormView->PostMessage(WM_CLOSE, 0, 0L);
0
 

Author Comment

by:JerryGan9
ID: 10703538
i means i use CFormView to do application which contents a few CFormView, if i successful login to 2nd CFormView, the 1st CFormView i want Close it after successful login in to 2nd CFormView, coz the 1st CFormView still got memory there...
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 11850844
My comment would be a way to achieve the desired effect
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to calculate times for developing software? 8 66
Turn a spreadsheet into a vba executable. 2 79
twoTwo  challenge 35 96
how to split multiple lines delimiter : 8 80
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now