Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!snorkelwacker!usc!samsung!xanth!mcnc!kk From: kk@mcnc.org (Krzysztof Kozminski) Newsgroups: comp.sys.mac.programmer Subject: How to hilite(255) the OK button in SF dialogs? Message-ID: <2418@speedy.mcnc.org> Date: 16 Jul 90 13:22:27 GMT Reply-To: kk@mcnc.org.UUCP (Krzysztof Kozminski) Organization: MCNC; RTP, NC Lines: 18 The subject says it almost all: I want to make the OK button inactive in the standard file dialogs, in which I have sevaral additional items. Some values of these items make it illegal to save or open a selected file. Due to other considerations, I cannot just remove the file name from the list, so I tried to hilite the Open/Save button to 255 from the dialog hook, but the SF package promptly reactivates it with the resulting wild blinking. So for now I just hide the button and display a short explanation at the bottom of the dialog, but I would like to do it more elegantly, i.e., keep the button where it is, only inactive. Any hints how to tell the SF package to keep off the hiliting status of the default button? Thanx in advance for any suggestions. KK -- Kris Kozminski kk@mcnc.org "The party was a masquerade; the guests were all wearing their faces."