用vba怎么改变auotcad的标题?记得以前有人写过,找不到了!
谢谢!知道得给个回信! 在源代码共享版找找 <P>找到,这是mccad的大作!很好用!</P><P>Option Explicit</P>
<P>Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long<BR>Public Declare Function GetParent Lib "user32" (ByVal hwnd As Long) As Long</P>
<P>Sub SetAcadTitle()<BR> Dim hw&<BR> hw = GetParent(GetParent(ThisDrawing.hwnd))<BR> SetWindowText hw, "自动标注课题 CAD教研室 "<BR>End Sub</P>
页:
[1]