globalmapper.SetMessageCallbackEx¶
- globalmapper.SetMessageCallbackEx(GM_MessageCallbackFunc aCallbackFunc, boolean aThreadLocal, int aReserved) None [source]¶
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.
- Parameters
aCallbackFunc (GM_MessageCallbackFunc) – The callback function to use to display error and warning messages
aThreadLocal (boolean) – should this callback only be used within the current thread?
aReserved (int) – Reserved for future use; must be 0.
- Returns
Nothing is returned
- Return type
None