Technical Q&As


TB37 - What is the AppendDialogItemList Function? (12-April-98)


Q In the "AppearanceHelpers.h" file from the Appearance SDK, I see the following declaration:
     extern pascal OSErr AppendDialogItemList
               ( DialogPtr dialog, SInt16 ditlID, DITLMethod method )
               THREEWORDINLINE(0x303C, 0x0412, 0xAA68);
However, there is no documentation for this function (or even a comment!). What does it do?

A It's the Appearance-savvy equivalent to AppendDITL. The differences are [1] it takes a 'DITL' resource ID instead of a handle as the parameter describing the dialog item list to be appended, and [2] it properly appends entries from the 'dftb' resource, if any, with the same resource ID as the 'DITL.'



-- Pete Gontier
Worldwide Developer Technical Support

Technical Q&As
Previous Question | Contents | Next Question

To contact us, please use the Contact Us page.