GM_Utility .SetMessageCallback Method
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.

Namespace:GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
Copy
public static void SetMessageCallback(
    GM_MessageCallbackDef aCallBackFunc
)

Parameters

aCallBackFunc
Type:  GlobalMapper . GM_MessageCallbackDef
The function to call
See Also