设为首页  
联系我们  
加入收藏  
网页制作 冲浪宝典 图形图像 操作系统 软件教学 编程开发 认证考试 安全技术 站长专区 文学驿站 娱乐天地 游戏天地 办公软件
文章搜索
您的位置: 首页 >> 文章首页 >> 办公软件 >> Outlook >> Office2000(2003) 下 outlook,word 的 com addin 之 delphi实现!(整理摸索)
精品推荐
Outlook点击TOP10
·OutLook Express邮件数据备份和恢复
·Outlook add-in 插件.Net开发经验
·如何使用Outlook Express拒收邮件
·邮件群发 我要与众不同 Outlook群发新主张
·用OutLook登陆Yahoo的1G邮箱
·硬盘空间不够 可能是Outlook Express惹的祸
·Outlook Add-in(COM加载项)技术指南(四)
·C#设计界面(office2003,VS。net IDE,OutLook 等等)
·五招搞定Outlook2003群发邮件功能
·取得的Outlook目录并在TTreeView里显示出来
办公软件点击TOP10
·Word公式编辑器快速上手指南
·轻松破解Word与Excel的文档密码
·巧用Word 2007制作发文件用的方格稿纸
·三步搞定幻灯片:Powerpoint 2007应用实例
·在Excel 2007中快速创建专业化的图表
·揪出Word工具中隐藏的秘密
·Excel填空型下划线的使用
·Excel隔行调整行高的四种有效方法
·学PowerPoint模板技巧 提高制作效率
·在Excel 2007中导入或导出文本文件
精选专题

Office2000(2003) 下 outlook,word 的 com addin 之 delphi实现!(整理摸索)

作者: 来源:网络文章 时间:2005-12-13 22:40:20

Office2000(2003) 下 outlook,word 的 com addin 之 delphi实现!(整理摸索)(6)         Assign(aBitMap);
      finally
       aBitMap.Free;
       Free;
     end;
   end;
 end;

var
  App : OutlookApplication;          //Word addin实现差别,定义 :WordApp: WordApplication
  aCommandBar : CommandBar;
  aButton,aButton2 : _CommandBarButton;
begin

  App := OutlookApplication(Application);
  aCommandBar := App.ActiveEXPlorer.CommandBars.Add('NewButtoNBAr', msoBarTop, False, True); //button栏
//Word addin实现差别
// App := WordApplication(Application);
// aCommandBar := App.CommandBars.Add('SYNI', msoBarTop, False, True); //button栏

//第一个button
  aButton := aCommandBar.Controls.Add(msoControlButton, EmptyParam, EmptyParam, EmptyParam, True)        as _CommandBarButton;
  aButton.Set_Style(msoButtonIconAndCaption);
  aButton.Set_Caption('SCP Manager');
  CopyBitMapToClipBoard(YourBmpFile); //这两句话是给按钮设定一个外部图标,
  aButton.PasteFace; //你要增加一个bitmap资源bitmap大小为16*16

共8页 9 7 [1] [2] [3] [4] [5] [6] [7] [88 :>

Office2000(2003) 下 outlook,word 的 com addin 之 delphi实现!(整理摸索) 相关文章:
Office2000(2003) 下 outlook,word 的 com addin 之 delphi实现!(整理摸索) 相关软件:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
转载请注明来源:http://www.xgdown.com