milikich@iccgcc.decnet.ab.com (Mike Milikich, Allen-Bradley Company) (02/11/91)
Since I am a relative newcomer to Mac programming, can anyone tell me about using multiple modeless dialogs? Is it OK to do this? If so, can someone give me some skeleton code for the main event loop, like how should calls to IsDialogEvent and DialogSelect be sandwiched in amongst handling of other events? In conjunction with this, after reading IM-I and UMPG, I am still unclear as to what needs to be called in what order to initialize and display a dialog window. For example, I have seen code that works which never calls DrawDialog or DrawControls, but I don't get dialog contents drawn in my stuff unless I do call these. Any example code of multiple modeless dialogs (if this is indeed legal) would be greatly appreciated. Tnx... Mike Milikich : (milikich@odin.pc.ab.com) -------------------------------------------------------------------------------- | milikich%iccgcc.decnet@consrt.rok.com | "...ignorance and prejudice and fear | | allen-bradley company | walk hand in hand..." | | 747 alpha drive |--------------------------------------| | highland heights, ohio 44143 | I don't speak for A-B, | | (216) 646-3406 FAX : (216) 646-4343 | and I know they don't speak for me. | --------------------------------------------------------------------------------