• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

How to close the CFormView?

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
JerryGan9
Asked:
JerryGan9
  • 2
1 Solution
 
AndyAinscowFreelance programmer / ConsultantCommented:
directly from the form view itself
PostMessage(WM_CLOSE, 0, 0L);

else
pFormView->PostMessage(WM_CLOSE, 0, 0L);
0
 
JerryGan9Author Commented:
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
 
AndyAinscowFreelance programmer / ConsultantCommented:
My comment would be a way to achieve the desired effect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now