Path: utzoo!utgpu!watserv1!watmath!att!att!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!abvax!iccgcc!milikich From: milikich@iccgcc.decnet.ab.com (Mike Milikich, Allen-Bradley Company) Newsgroups: comp.sys.mac.programmer Subject: How to highlight icons in modal dialogs? Message-ID: <2174.2753935b@iccgcc.decnet.ab.com> Date: 28 Nov 90 15:37:15 GMT Lines: 18 I am trying to highlight one of a pair of icons in a modal dialog, just like chooser does for selecting the serial port for Imagewriter configuration. First, it seems like I will have to re-paint the selected icon after every call to ModalDialog, since it redraws the whole thing. Is this true? Secondly, what is the best way to do the highlighting? A call to InvertRect doesn't seem to work consistently. Does anyone have advice or sample code they can share? If this is too elementary a problem, you can reply to me directly. Thanks... Mike -- -------------------------------------------------------------------------------- | milikich%iccgcc.decnet@consrt.rok.com |"...and the men who hold high places | | allen-bradley company | must be the ones to start..." | | 747 alpha drive |--------------------------------------| | highland heights, ohio 44143 | I don't speak for A-B, | | (216) 646-3494 FAX : (216) 646-4343 | and I know they don't speak for me. | --------------------------------------------------------------------------------