设置mapcontrol的鼠标样式

http://blog.itpub.net/14999074/viewspace-586515/

mapcontrol的鼠标样式

this.axMapControl1.MousePointer=esriControlsMousePointer.esriPointerDefault;还可以是下面的值:

 

esriControlsMousePointer Constants

Control mouse pointer options.

ConstantValueDescription
esriPointerParentWindow-1pointer specified on the parent window or form.
esriPointerDefault0Default pointer, same as arrow.
esriPointerArrow1Standard arrow.
esriPointerCrosshair2Crosshair.
esriPointerIBeam3I-Beam.
esriPointerIcon4Icon.
esriPointerSize5Size, four-pointed arrow pointing north, south, east and west.
esriPointerSizeNESW6Size NE-SW, double arrow pointing north-east and south-west.
esriPointerSizeNS7Size N-S, double arrow pointing north and south.
esriPointerSizeNWSE8Size NW-SE, double arrow pointing north-west and south-east.
esriPointerSizeWE9Size W-E, double arrow pointing west and east.
esriPointerUpArrow10Arrow pointing vertically up.
esriPointerHourglass11Hourglass, wait cursor.
esriPointerNoDrop12Circle with slash through it or a no entry sign.
esriPointerArrowHourglass13Standard arrow and small hourglass.
esriPointerArrowQuestion14Arrow and question mark.
esriPointerSizeAll15Size all, a four-pointed arrow pointing north, south, east and west.
esriPointerZoom50Zoom, a magnifying glass.
esriPointerZoomIn51Zoom in, a magnifying glass with a plus sign.
esriPointerZoomOut52Zoom out, a magnifying glass with a minus sign.
esriPointerPan53Pan, a hand.
esriPointerPanning54Panning, a clenched hand.
esriPointerIdentify55Identify, arrow with information symbol.
esriPointerLabel56Label, arrow with letter A.
esriPointerHotLink57Hot-Link, lightening strike.
esriPointerPencil58Pencil.
esriPointerHand59Hand, closed hand with index finger pointing vertically.
esriPointerPageZoomIn60Page zoom In, magnifying glass with plus sign and a small page.
esriPointerPageZoomOut61Page zoom out, magnifying glass with minus sign and a small page.
esriPointerPagePan62Page pan, open hand with page symbol.
esriPointerPagePanning63Page pan, closed hand with page symbol.
esriPointerCustom99Custom icon specified by the MouseIcon property.

 

 

 

 

 

转载于:https://www.cnblogs.com/fatherZyl/p/5648795.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值