Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!bu-cs!dartvax!eleazar.dartmouth.edu!isle From: isle@eleazar.dartmouth.edu (Ken Hancock) Newsgroups: comp.sys.mac.programmer Subject: Re: Making a control in the Print Job Dialog inactive Message-ID: <14778@dartvax.Dartmouth.EDU> Date: 2 Aug 89 00:09:01 GMT References: <56212@tut.cis.ohio-state.edu> <12928@well.UUCP> Sender: news@dartvax.Dartmouth.EDU Reply-To: isle@eleazar.dartmouth.edu (Ken Hancock) Distribution: all Organization: Computer Resource Center, Dartmouth College Lines: 27 In article <12928@well.UUCP> odawa@well.UUCP (Michael Odawa) writes: >In article <56212@tut.cis.ohio-state.edu> Scott Sutherland writes: >>Does anyone know of a reasonable way to call HiliteControl on an item in >>the Printer Job Dialog. Since my application can't print in draft mode >>on an ImageWriter, I'd like to dim the Draft radio button and make it {->>inactive if the chosen printer is an ImageWriter. > >We had to do the same thing in DocuComp, and we used the techniques >outlined in Tech Note #95. The Draft Mode button is Item #8 in the >ImageWriter PrJobDialog. Hilite it as Inactive. In the MyDlgInit procedure >this would entail (in Pascal): I think you'd better go back and re-read Tech Note #95. The first page specificly states that you should not change any of the controls in the print job dialog, only add them. Besides, there's no reason to disable the Draft printing. Let the Print Manager deal with it. The word "draft" means "it may look like garbage, but print it anyway." So instead of deciding what's best for the user, let them decide for themselves. Ken Ken Hancock '90 | E-mail: (BITNET/UUCP/INTERNET) Computer Resource Center Consultant | isle@eleazar.dartmouth.edu ------------------------------------+--------------------------------------- DISCLAIMER? I don't get paid enough to worry about disclaimers.