Solved

Cancel buttons in ResEdit

Posted on 1997-08-14
1
283 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 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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 …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

696 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