📄 vba13-5.txt
字号:
Private Sub UIToolPermit_MouseUp(ByVal button As Long, _
ByVal shift As Long, ByVal x As Long, ByVal y As Long)
' Do not process if the mouse was not pressed down
' on the map.
If (Not m_blnMouseDown) Then Exit Sub
Dim pMxDocument As IMxDocument
Dim pActiveView As IActiveView
Dim pMap As IMap
Set pMxDocument = Application.Document
Set pActiveView = pMxDocument.FocusMap
pActiveView.PartialRefresh esriViewGeoSelection, _
Nothing, Nothing
Set pMap = pMxDocument.FocusMap
pMap.SelectByShape m_pPoint, Nothing, True
pActiveView.PartialRefresh esriViewGeoSelection, _
Nothing, Nothing
m_blnMouseDown = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -