Important: The information in this document is obsolete and should not be used for new development.
HMSetDialogResID
You can use theHMSetDialogResIDfunction to set the'hdlg'resource that specifies help balloons for the next dialog box or alert box.
FUNCTION HMSetDialogResID (resID: Integer): OSErr;
resID- The resource ID of the
'hdlg'resource to use when your application displays the next dialog box or alert box.DESCRIPTION
TheHMSetDialogResIDfunction uses the'hdlg'resource specified in theresIDparameter to supplement whatever'hdlg'resource might already be associated with the next dialog box or alert box that you display.HMSetDialogResIDsupplements the help messages specified by aHelpItemitem in the next dialog or alert box's item list ('DITL') resource. Specify -1 in theresIDparameter to reset or clear a previous call to theHMSetDialogResIDfunction.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theHMSetDialogResIDfunction are
Trap macro Selector _Pack14 $010C RESULT CODES
noErr 0 No error memFullErr -108 Not enough room in heap zone SEE ALSO
You typically useHMSetDialogResIDin conjunction with theHMGetDialogResIDfunction, which is described in the following section.