Solved

Cancel buttons in ResEdit

Posted on 1997-08-14
1
276 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
1 Comment
 
LVL 2

Accepted Solution

by:
roov earned 70 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 125
string initialization in java 11 103
sum28 challenge 31 96
mapBully challenge 6 89
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…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

19 Experts available now in Live!

Get 1:1 Help Now