Skip to main content
Home Browse Development Dialog Controls 11 C
Dialog Controls 11 C
Dialog Controls 11 C icon

Dialog Controls 11 C

Development · info-mac
Filenamedialog-controls-11-c.hqx
Size45.7 KB (46777 bytes)
Downloads2
About
DialogControls.c by Todd Clements ([email protected]) This source code shows how to do different things with dialogs: 1) Set the window font and size 2) Patch NewControl() so that you have controls in the window font (thanks to Jens Alfke for the code) 3) Use Popup Menus in modal dialogs 4) Use AppendDITL() to get a NewsWatcher-like preferences box 5) Use styled text edit records from resources to display text 6) Write a filter for a ModalDialog 7) Use MovableModal dialog boxes Some of this code is stolen from my own program, others stolen from other people, but it's all here for you! If you have any comments about the code, any improvements/additions/bugs, please feel free to contact me at the above address. I make no guarantees regarding the decency of this code. Run it and use it at your own risk. January 26, 1995 - 1.0 - First release May 9, 1995 - 1.1 - Second release Changed to MovableModal dialog box Added "Reset Panel to Defaults" button Disabled controls when window deactivated
File Info

This file is from the info-mac archive. It is BinHex encoded — use The Unarchiver to decode it.

MacTrove — a free archive of classic Macintosh software. Files mirrored from ftp.funet.fi/pub/mac (info-mac + funet legacy). All software provided for historical preservation.