Solved

Wizard97 Model !!!!!  -Cancel Button

Posted on 2002-06-11
5
182 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 50 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Title # Comments Views Activity
Need to retreive data from .TFS file exported by DVR 8 217
How to know only "File created" with EventLog 3 35
if loop in java 3 152
Fibonacci challenge 11 133
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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

839 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