globalmapper.SetMessageCallbackEx ================================= .. currentmodule:: globalmapper .. py:function:: SetMessageCallbackEx (GM_MessageCallbackFunc aCallbackFunc, bool aThreadLocal, int aReserved) -> None 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. :param GM_MessageCallbackFunc aCallbackFunc: The callback function to use to display error and warning messages :param bool aThreadLocal: should this callback only be used within the current thread? :param int aReserved: Reserved for future use; must be 0. :returns: Nothing is returned :rtype: None