创建桌面帮助! [英] Creating a Deskband Help!

查看:92
本文介绍了创建桌面帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在阅读了大量 MSDN教程(作为爱好) [ ^ ]

我了解,为了从创建开始,我需要进行某种注册.

阅读了以上链接的部分后,我感到困惑,需要更多知识渊博的人提供帮助.

我试图创建在任务栏上的东西,例如. iTunes工具栏桌面带.

这是我感到困惑的地方...
通常,band对象的基本注册表项将显示如下.

HKEY_CLASSES_ROOT
CLSID
{您的波段对象的CLSID GUID}
(默认)=菜单文本字符串
InProcServer32
(默认)= DLL路径名
ThreadingModel = Apartment"


以及...

您可以通过编程方式处理波段对象的CATID.创建组件类别管理器对象(CLSID_StdComponentCategoriesMgr)并请求指向其ICatRegister接口的指针.将波段对象的CLSID和CATID传递给ICatRegister :: RegisterClassImplCategories."
因为我不知道我需要做整个HKEY根部分.

非常感谢任何帮助.

使用VS2010的PS IM

After reading a lot of Tutorials from MSDN (as a hobby)[^]

I have understood that in order to begin with the creation I need to do some sort of registration.

After reading the section of the above link, I am confused and require help from one who is more knowledgable.

Im attempting to create something which is on the taskbar eg. iTunes Toolbar Deskband.

This is where I got confused...
"In general, the basic registry entry for a band object will appear as follows.

HKEY_CLASSES_ROOT
CLSID
{Your Band Object''s CLSID GUID}
(Default) = Menu Text String
InProcServer32
(Default) = DLL Path Name
ThreadingModel = Apartment"


as well as...

"You can handle registration of a band object''s CATID programmatically. Create a component categories manager object (CLSID_StdComponentCategoriesMgr) and request a pointer to its ICatRegister interface. Pass the band object''s CLSID and CATID to ICatRegister::RegisterClassImplCategories."
as I do not know wheather I need to do the whole HKEY Root part.

Any Help Much Appreciated.

PS IM USING VS2010

推荐答案

这不容易解释...而且要做很多工作.

我的建议是尝试找到已经起作用的样本,然后从那里开始.如果您找到一个可以编译并运行的项目,那么对您来说会容易得多.

在以下页面中,您将找到DeskBand API SDK示例的链接:

Windows UI示例 [台式机样品 [ ^ ]


对于注册表的内容,您可以查看注册表,并且您会很好地了解它的组织方式,因为其中很多键经常被使用...
It is not easy to explain... and it is a lot of work to do.

My suggestion is try to find samples that already works and start from there. If you can find a project that compile and works, it will be much easier for you.

In the following page you will find a link for DeskBand API SDK Sample:

Windows UI Samples[^]

You can find more samples using Google: deskband sample[^]


For the registry stuff, you can look in the registry and you have a good idea how it is organized as many of those keys are used a lot...


这篇关于创建桌面帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆