Solved

How to close the CFormView?

Posted on 2004-03-29
6
662 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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