Solved

Wizard97 Model !!!!!  -Cancel Button

Posted on 2002-06-11
5
184 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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