Solved

Cancel buttons in ResEdit

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

Industry Leaders: 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

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 …
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 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