Important: The information in this document is obsolete and should not be used for new development.
HMSetDialogResID
You can use theHMSetDialogResID
function 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
TheHMSetDialogResID
function uses the'hdlg'
resource specified in theresID
parameter to supplement whatever'hdlg'
resource might already be associated with the next dialog box or alert box that you display.HMSetDialogResID
supplements the help messages specified by aHelpItem
item in the next dialog or alert box's item list ('DITL'
) resource. Specify -1 in theresID
parameter to reset or clear a previous call to theHMSetDialogResID
function.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theHMSetDialogResID
function are
Trap macro Selector _Pack14 $010C RESULT CODES
noErr 0 No error memFullErr -108 Not enough room in heap zone SEE ALSO
You typically useHMSetDialogResID
in conjunction with theHMGetDialogResID
function, which is described in the following section.