惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
N
News and Events Feed by Topic
P
Privacy International News Feed
The Hacker News
The Hacker News
Schneier on Security
Schneier on Security
C
Cybersecurity and Infrastructure Security Agency CISA
Security Latest
Security Latest
L
LINUX DO - 最新话题
阮一峰的网络日志
阮一峰的网络日志
Cisco Talos Blog
Cisco Talos Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
The Cloudflare Blog
博客园 - 【当耐特】
博客园 - Franky
P
Privacy & Cybersecurity Law Blog
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
月光博客
月光博客
D
Docker
Webroot Blog
Webroot Blog
The GitHub Blog
The GitHub Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
W
WeLiveSecurity
S
Security Affairs
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Security Archives - TechRepublic
Security Archives - TechRepublic
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
B
Blog
L
Lohrmann on Cybersecurity
T
Threatpost
量子位
S
Schneier on Security
V
Visual Studio Blog
S
Securelist
T
The Exploit Database - CXSecurity.com
Scott Helme
Scott Helme
V
Vulnerabilities – Threatpost
aimingoo的专栏
aimingoo的专栏
The Register - Security
The Register - Security
I
Intezer
Stack Overflow Blog
Stack Overflow Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 聂微东
小众软件
小众软件
罗磊的独立博客
雷峰网
雷峰网
Recorded Future
Recorded Future

博客园 - GIS云中飞鹏

ArcGIS Server 9.3 REST基础教程 ArcGIS_系列视频教程::精品大放送 VS2005中删除最近打开的项目和文件的记录 [资源共享]C#+AE构建GIS桌面端应用系统框架-全代码 - GIS云中飞鹏 - 博客园 2008ESRI中国区域用户大会资料已经共享!!!^_^ 刻录机放入光盘,出现函数不正确的解决方法! ArcSDE初级教程下载 ArcIMS HTML Viewer开发经典教程:Customizing the HTML Viewer下载 “全国信息化工程师—GIS应用水平考试”考试复习资料下载! ArcObjects GIS应用开发——基于C#.NET--PDF下载 ArcGIS Unknown Spatial Reference问题解疑(转载) - GIS云中飞鹏 oracle 10g默认用户名、密码解锁 自己定制的SymbolSelectForm效果及VB.NET源码 ArcGIS Engine 怎样给PageLayout替换模板 用AE创建气泡式提示框的方法-VB.Net源码(转载) - GIS云中飞鹏 - 博客园 VS在Debug时检测到Loaderlock的解决办法 - GIS云中飞鹏 - 博客园 【ArcGIS Server 开发系列】Flyingis六大系列讲座精品PDF奉献 公司数据部培训讲义:ArcMap数字化培训教程 如何改变ArcIMS92图例字体大小中? - GIS云中飞鹏 - 博客园
在ArcGisEngine 开发中如何在Toolbar控件上添加Combobox等其他控件?
GIS云中飞鹏 · 2008-07-09 · via 博客园 - GIS云中飞鹏

 在ArcGisEngine 开发中如何在Toolbar控件上添加Combobox等其他控件

如果在ESRI的Toolbar控件上添加一个Combobox 需要在Command类中实现IToolControl接口
在将指定控件的句柄做为 IToolControl.hwnd 返回即可
过程描述
public class MyCombobox:BaseCommand,IToolControl
{
private int _handle=0;
private ICompletionNotify _CompNotify;
public MyCombobox(int handle)
{
_handle = handle;
}

public override void OnCreate(object hook)
{
// TODO: 添加 SymbolType.OnCreate 实现

}
#region IToolControl 成员

public int hWnd
{
get
{
// TODO: 添加 SymbolType.hWnd getter 实现
return _handle;
}
}

public void OnFocus(ICompletionNotify complete)
{
_CompNotify = complete;
// TODO: 添加 SymbolType.OnFocus 实现
}

public bool OnDrop(ESRI.ArcGIS.SystemUI.esriCmdBarType barType)
{
// TODO: 添加 SymbolType.OnDrop 实现
if (barType == esriCmdBarType.esriCmdBarTypeToolbar )
{
return true;
}
else return false;
}

#endregion
}