CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: How to exit ?

  1. #1
    Join Date
    Jul 1999
    Posts
    25

    How to exit ?

    Hi all,
    i want to give an option in my VC++ application so that user can quit from appl.i am giving an option in the menu.what action should i take to quit ?
    bye


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How to exit ?

    you could call PostQuitMessage.


  3. #3
    Join Date
    Jun 1999
    Posts
    319

    Re: How to exit ?

    You could use :
    AfxGetMainWnd()->PostMessage(WM_CLOSE, NULL, NULL)
    Best regards,
    Faby


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured