QASetNoticeMethod
You can use theQASetNoticeMethodfunction to set the notice method of a draw context.
#define QASetNoticeMethod(drawContext, method, completionCallBack, refCon) \ (drawContext)->setNoticeMethod (drawContext, method, completionCallBack, refCon)
drawContext- A draw context.
method- A method selector. See "Notice Method Selectors" (page 1-68) for a description of the available method selectors.
completionCallBack- A pointer to the desired draw context notice method of the specified type. See "Notice Methods" (page 1-147) for information about notice methods.
refCon- A reference constant for the specified notice method. This value is passed unchanged to the notice method when it is called.
DESCRIPTION
TheQASetNoticeMethodfunction sets the notice method of typemethodof the draw context specified by thedrawContextparameter to the function pointed to by thecompletionCallBackparameter.QASetNoticeMethodalso sets the reference constant of that method to the value specified by therefConparameter.