如果在VBA中,可以参考明总写的修改AutoCAD窗口标题名称程序:
Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long Public Declare Function GetParent Lib "user32" (ByVal hwnd As Long) As Long
Sub SetAcadTitle() Dim hw& hw = GetParent(GetParent(ThisDrawing.hwnd)) SetWindowText hw, "明经通道 http://www.mjtd.com" End Sub
zfbj发表于2004-6-10 15:21:00如果在VBA中,可以参考明总写的修改AutoCAD窗口标题名称程序:
Declare Function SetWindowText Lib \"user32\" Alias \"SetWindowTextA\" (ByVal hwnd As Long, ...