Click or drag to resize

GM_UtilitySetMessageCallbackEx 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: 19.1.0.0 (19.1.0.0)
Syntax
C#
public static void SetMessageCallbackEx(
	GM_MessageCallbackDef aCallBackFunc,
	bool aThreadLocal,
	Object aReserved
)

Parameters

aCallBackFunc
Type: GlobalMapperGM_MessageCallbackDef
The function to call
aThreadLocal
Type: SystemBoolean
Should this callback only be used within the current thread?
aReserved
Type: SystemObject
Reserved for future use, must be NULL
See Also