How to Create Custom Alert Boxes with ResEdit (31935)






This article was previously published under Q31935

SUMMARY

Custom alert boxes can be created for QuickBASIC programs using ResEdit, as follows (before using ResEdit, please read the ResEdit section in the "Microsoft QuickBASIC Compiler for Apple Macintosh: User's Guide"):

  1. Run ResEdit.
  2. Go into the resource area of the program or resource file.
  3. If there is not a resource called ALRT, use the New option on the File menu to select ALRT for the New Type Name.
  4. To create a custom alert box, go into the ALRT resource and select New on the File menu. This creates a new alert box and opens a window with the blank alert displayed.
  5. To create items for the new alert, double click the blank alert box. This will bring up the dialog-item list associated with the alert.
  6. At this point, selecting New on the File menu brings up a window that allows you to create buttons and areas for text, and to insert icons and other resources.
  7. Once an item has been selected, closing that window brings you back to the dialog-item list window where the newly created item can be placed in its desired position in the alert box.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB31935