Solved

Handling OnOK and OnCancel in a FormView

Posted on 1998-11-07
1
328 Views
Last Modified: 2013-11-20
I have a formview that has OK and CANCEL buttons on it.  I understand these aren't handled automatically in a formview like they are in a dialog.  I've added handlers for them with ClassWizard, but they aren't getting hit.  What do you have to do special here?
0
Comment
Question by:appleby
1 Comment
 
LVL 1

Accepted Solution

by:
TheGrinch earned 50 total points
ID: 1324335
Change the resource IDs of the buttons from IDOK and IDCANCEL to something else, like IDC_CANCEL and IDC_OK, and add new handlers.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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 …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.

831 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