|
10楼#
发布于:2005-09-06 15:40
<P>Dim pCom As ICommand</P>
<P>Set pCom = New YourTool ’YourTool Implements esriSystemUI.ICommand and esriSystemUI.ITool <BR>pCom.OnCreate (mapCtrl.object)<BR>pCom.OnClick<BR>If TypeOf pCom Is esriSystemUI.ITool Then<BR> Set mapCtrl.CurrentTool = pCom<BR>End If</P> |
|
|
上一页
下一页