Solved

Wizard97 Model !!!!!  -Cancel Button

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now