Solved

How to close the CFormView?

Posted on 2004-03-29
6
655 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 131
Folder Comparison 12 54
sameEnds challenge 3 179
wordcount challenge 11 130
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 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