阅读:1538回复:1
[求助] tool工具的OnKeyDown事件不好使???
<DIV>我的开发平台是VS2005,开发语言C# <BR>在 Tool工具的keydown 事件中添加代码 ,但是在程序运行初不加载地图时可以触发事件 ,但是一旦加载地图,此事件就进不去了. 偶尔加载完地图也可以使用,但一进行其他工具的切换后 在使用此工具又无法触发事件了。 难道是engine的BUG么?? 我的补丁是SP3<BR>请教各位了!!~~</DIV><img src="images/post/smile/dvbbs/em02.gif" />
|
|
1楼#
发布于:2008-08-23 10:25
<P>没人回答 自己解决 </P>
<P>Just because something doesn't work as you expect it to doesn't mean it's a bug. If you want key events to work with the map control, the map control must have focus, the same as any other control. </P> |
|