Solved

Wizard97 Model !!!!!  -Cancel Button

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.

810 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