简体   繁体   English

如何为Skype添加类似于Skype生产力工具的窗口范围?

[英]How to add window extentions similar to the skype productivity tools for skype?

All, 所有,

If you install the Webex productivity tools and have skype installed it adds a window decoration from where you can click a button and it will automatically paste into the conversation box a new webex conference link. 如果您安装了Webex生产率工具并安装了Skype,它将添加一个窗口装饰,您可以在其中单击按钮,然后它将新的webex会议链接自动粘贴到对话框中。

I would like to do something similar for my application, but where to start with adding the window decoration? 我想为我的应用程序做类似的事情,但是从添加窗户装饰开始的地方呢? Is there a standard API for this sort of thing? 是否有用于此类事情的标准API?

Any guidance is appreciated. 任何指导表示赞赏。

What you basically want to do is to 'Draw custom controls' in the Windows Non-Client area. 您基本上想要做的是在Windows 非客户端区域中“绘制自定义控件”。 This is also sometimes called the 'Chrome' of the Window. 有时也称为窗口的“ Chrome”。

If you want to do this in your own application, this SO question answers many of the options available: Custom titlebars/chrome in a WinForms app 如果要在自己的应用程序中执行此操作,那么此SO问题将回答许多可用选项: WinForms应用程序中的自定义标题栏/ chrome

The code for the main article cited from http://geekswithblogs.net/kobush/articles/CustomBorderForms.aspx is availble at http://customerborderform.codeplex.com/ http://geekswithblogs.net/kobush/articles/CustomBorderForms.aspx中引用的主要文章的代码可在http://customerborderform.codeplex.com/获得。

If you want to add your custom controls to other applications, then you will need to hook into those applications their WndProc . 如果要将自定义控件添加到其他应用程序,则需要将其WndProc挂接到这些应用程序中。 In order to achieve that, you will need to inject your dll into that application (see http://www.codingthewheel.com/archives/how-to-inject-a-managed-assembly-dll and http://www.codeproject.com/Articles/4610/Three-Ways-to-Inject-Your-Code-into-Another-Proces#section_1 ) and then hook into the WndProc again. 为了实现这一点,您需要将dll注入该应用程序(请参见http://www.codingthewheel.com/archives/how-to-inject-a-managed-assembly-dllhttp:// www。 codeproject.com/Articles/4610/Three-Ways-to-Inject-Your-Code-into-Another-Proces#section_1 ),然后再次挂接到WndProc。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM