Click or drag to resize

GM_SetMessageCallback

Sets the function to call to display error and warning messages generated during SDK operations. If a message callback is provided, a message dialog will not be shown, instead the callback function will be called with the error or warning message that would have been displayed. The callback is then free to do whatever they'd like, including just ignore the message, in which case the error code will still be returned from the function generating the message like normal.

Syntax
void GM_SetMessageCallback
(
GM_MessageCallbackFunc aCallbackFunc
);