Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RAzizi

    How can I do for asking if You are sure to close the program ?

    You can put your message box code on WM_CLOSE message handler or create a message handler for you exit Button and write it on there. For example: void Test::OnClose() { if(MessageBox("Are you sure to exit:Yes or No ",NULL,MB_YESNO) == IDYES) CDialog::OnClose(); }

Part and Inventory Search

Back
Top