Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!imagery!p5.f22.n282.z1.FIDONET.ORG!Jim.Spencer From: Jim.Spencer@p5.f22.n282.z1.FIDONET.ORG (Jim Spencer) Newsgroups: comp.sys.mac.programmer Subject: How to highlight buttons Message-ID: <18.25F108DB@imagery.FIDONET.ORG> Date: 3 Mar 90 13:56:45 GMT Sender: ufgate@imagery.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:282/22.5 - Macintosh SmorgasBo, Bloomington MN Lines: 22 > > >I have been trying to figure out how to highlight the default >buttons in a dialog. However I have been unsuccessfull. Can >anyone tell me what I am doing wrong. Below is the code segment >I am using to do this. Thanks in advance for any help. >... > GetDItem (AcquDLOG, iAcquOK, &ItemType, &ItemHandle, &ItemRect); > PenSize (3,3); > InsetRect(&ItemRect, -4, -4); > OffsetRect(&ItemRect, 50, 50); > FrameRoundRect(&ItemRect, 16, 16); > PenSize (1,1); I'm probably missing something but why are you calling OffsetRect? -- Jim Spencer - via FidoNet node 1:282/33 UUCP: ...!uunet!imagery!22.5!Jim.Spencer ARPA: Jim.Spencer@p5.f22.n282.z1.FIDONET.ORG