如何不让在标题栏显示图形文件路径
我如何才能不在标题栏显示图形文件路径,现在每打开一个文件都显示了这个图形文件的路径,我不想让别人知道这个路径,如何屏蔽呢? <DIV class=username id=u1><B>作者:dandijunqi 2002-6-18 10:58:10)</B></DIV><DIV class=posttext id=p1><BR>[求助]:如何改变autoCAD2000的标题栏变成我自己程序名?
<DIV style="FLOAT: right; WIDTH: 180px"></IFRAME></DIV><IMG src="http://www.mjtd.com/bbs/Skins/Default/emot/em24.gif" align=middle border=0></DIV>
<DIV class=post>
<DIV class=username id=u1><B>作者:goldenshin 2002-6-18 13:14:41)</B></DIV>
<DIV class=posttext id=p1><BR>reCMD<I>IFrameWnd *pp;<BR> pp=acedGetAcadFrame();<BR> pp->SetWindowText ("yourName");<BR> pp->UpdateWindow ();</DIV>
<DIV class=posttext> </DIV>
<DIV class=posttext>vba程序怎么写呢</DIV></DIV> 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>
<P>Sub SetAcadTitle()<BR> Dim hw as long</P>
<P> hw = GetParent(GetParent(ThisDrawing.hwnd))<BR> SetWindowText hw, "明经通道 http://www.mjtd.com"<BR>End Sub </P>
<P>怎么这样写了,还是没能改标题名呢,我的hw为0,这是什么原因呢?是不是代码加的位置不对</P>
页:
[1]