主要用到函数说明:
MxDrawXCustomFunction::Mx_SetSysVar
设置系统变量。详细说明如下:
CString sVarName | 系统变量名 |
Value | 需要设置的值 |
设置系统变量DYNINPUT值为0:
1 2 3 4 5 | Dim param As MxDrawResbuf Set param = New MxDrawResbuf param.AddString "DYNINPUT" param.AddLong 0, 5010 '5010 = RTLONG MxDrawX1.CallEx "Mx_SetSysVar" , param |