Solved

Cancel buttons in ResEdit

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 130
how to you can convert your project to a Maven project and the Maven plugin should download the source 1 49
has22 challenge 11 104
fix34  challenge 9 139
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 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