淘汰郎 发表于 2009-6-30 23:45:00

求教 修改状态栏 问题 谢谢了...

<p>AcApStatusBar* pStatusBar = acedGetApplicationStatusBar();<br/>&nbsp;&nbsp;AcPane* pPane = new AcPane();<br/>&nbsp;&nbsp;pPane = pStatusBar-&gt;GetPane(2);<br/>&nbsp;&nbsp;pPane-&gt;SetMinWidth(2);<br/>&nbsp;&nbsp;pPane-&gt;SetMaxWidth(650);<br/>&nbsp;&nbsp;pPane-&gt;SetVisible(TRUE);<br/>&nbsp;&nbsp;pPane-&gt;SetToolTipText("当前绘图比例尺");<br/>&nbsp;&nbsp;pPane-&gt;SetText("当前绘图比例尺:1/2000");<br/>&nbsp;&nbsp;pStatusBar-&gt;Update()</p><p><!--Element not supported - Type: 8 Name: #comment-->&nbsp;<img src="file:///C:/Program%20Files/Tencent/QQ/Users/233447034/Image/H@{$`W8FQM]Z5Q@LS9CS{RL.jpg" alt=""/>
        </p><p>但是&nbsp;<!--Element not supported - Type: 8 Name: #comment-->
                <img src="file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/DYPZ~)JGS1]I}DC~NU[XXPG.jpg" alt=""/>
        </p><p>点一下 捕捉 当前绘图比例尺:1/2000 就没了 </p><p></p>
页: [1]
查看完整版本: 求教 修改状态栏 问题 谢谢了...