Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Wizard97 Model !!!!!  -Cancel Button

Posted on 2002-06-11
5
Medium Priority
?
188 Views
Last Modified: 2013-11-20
Hi

    In the wizard97 model. If i pressed the Cancel Button it closed the wiz97. that's fine. But before
that i want ask the confirmation. How do i map the this message(Cancel Button). How do i handle this
message.

can any one give me solu.

thanks,
Regards,
Rajesh. S
0
Comment
Question by:raju_s76
  • 2
5 Comments
 

Accepted Solution

by:
arunsrk earned 200 total points
ID: 7072102
Override OnCancel()of class CWizard97Sheet

How to override

Insert the below code in WizSheet.cpp

BEGIN_MESSAGE_MAP(CWizard97Sheet, CWizard97Sheet_BASE)
     //{{AFX_MSG_MAP(CWizard97Sheet)
     // NOTE - the ClassWizard will add and remove      //}}AFX_MSG_MAP
     ON_COMMAND(IDCANCEL,OnCancel)
END_MESSAGE_MAP()

void CWizard97Sheet::OnCancel()
{
     AfxMessageBox(_T("Do you want to Exit"));
}

Insert the below declaration in Wizsheet.h

protected:
     afx_msg void OnCancel();

hopes this will help you...
"All The Best"
regards
arun
0
 

Author Comment

by:raju_s76
ID: 7072310
hi,

   Thanks, i need two more help.
1. In the Wizare97 model. there two Bmp is there know. One is IDB_WATERMARK,IDB_BANER. i want to past this two Bmp in the single page. How should i do that?.

2. Each page the column header is title read from the String table. i dont want to read from string table. If i want to give a some string value.How should i do that?..

can u help me on this....

thanks a lot.
Rajesh. S
0
 

Author Comment

by:raju_s76
ID: 7072328
hi,

   Thanks, i need two more help.
1. In the Wizare97 model. there two Bmp is there know. One is IDB_WATERMARK,IDB_BANER. i want to past this two Bmp in the single page. How should i do that?.

2. Each page the column header is title read from the String table. i dont want to read from string table. If i want to give a some string value.How should i do that?..

can u help me on this....

thanks a lot.
Rajesh. S
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

885 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