[comp.sys.mac.programmer] Balloon help for a cdev

carr@apple.com (Randy Carr) (06/25/91)

Subject: Re: Balloon help for a control panel
References: <1991Jun21.203825.7041@ux1.cso.uiuc.edu>
Organization: Apple Computer, Inc.

In article <1991Jun21.203825.7041@ux1.cso.uiuc.edu>, resnick@cogsci.uiuc.edu (Pete Resnick) writes:
> 
> I am trying to implement balloon help for my control panel. I have been
> unable to get an 'hdlg' resource combined with 'STR#' resources to work. I
> notice that all of the Apple supplied control panels have 'hrct' help
> instead and nothing in the 'DITL' that indicates the resource. What is the
> best way to do this and why won't 'hdlg' work?
> 

Pete,

Control panels are the easiest interface element to add help to these days.
All you need to do is add an 'hdlg' or 'hrct' (or both) resource of ID -4064.
These resources only affect the main dialog window of the panel and if you use
any other dialogs or windows, you must implement balloon help tracking in the 
usual way (like an 'hwin' resource or help item in a 'DITL' etc.)

I hope this helps.

Randy Carr
System Software (I wrote the Help Mgr)
Apple Computer, Inc.


> Pete Resnick             (...so what is a mojo, and why would one be rising?)
> Graduate assistant - Philosophy Department, Gregory Hall, UIUC
> System manager - Cognitive Science Group, Beckman Institute, UIUC
> Internet/ARPAnet/EDUnet  : resnick@cogsci.uiuc.edu
> BITNET (if no other way) : FREE0285@UIUCVMD