?
Solved

Cancel buttons in ResEdit

Posted on 1997-08-14
1
Medium Priority
?
284 Views
Last Modified: 2013-12-26
How do you add cancel buttons to "alert documents"(you know, those messages with OK buttons) made in ResEdit"
0
Comment
Question by:bluephish
[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
1 Comment
 
LVL 2

Accepted Solution

by:
roov earned 140 total points
ID: 1291639
Are you refering to "alert documents" of application that have been compiled already, or to code you are writing?

If the former (a ready application), this'll require some application specific low level hacking, and usually ain't worth the trouble...

If the latter, then simply create an 'ALRT' resource with your Cancel button, verify the OK is ID 1, Cancel is ID 2, and the rest is history.

The short returned from the Alert Toolbox call will let you know which item was clicked.
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

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. …
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

777 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