在Windows 10中ICC_LINK_CLASS&找不到WC_LINK课程 [英] In Windows 10 ICC_LINK_CLASS & WC_LINK classes are not found
问题描述
我正在创建一个shell扩展。在我的属性表对话框中,我添加了一个SysLinK控件。但是,一旦我添加此控件,我的对话框就不会出现。
我尝试以编程方式创建此控件使用
I am creating a shell extension. In my property sheet dialog, I have a added a "SysLinK Control". But as soon I add this control my dialog doesn't come.
I tried programmatically create this control using
HWND hwnd = CreateWindowEx(0, WC_LINK,L"Ajesh",
WS_VISIBLE | WS_CHILD | WS_TABSTOP,
7, 254, 178, 10,
m_hDlg, NULL, g_hInstRes, NULL);
但它失败了,错误代码为1407,即无法找到窗口类。
我也尝试使用
But it fails with error code 1407 i.e Cannot find window class.
I also tried intialize common control using
INITCOMMONCONTROLSEX iccex;
iccex.dwSize = sizeof(INITCOMMONCONTROLSEX);
iccex.dwICC = ICC_LINK_CLASS;
BOOL bret = InitCommonControlsEx(&iccex);
但它也无法初始化ICC_LINK_CLASS。
对于Windows 10,是否有任何更改SysLinK Control?我找不到任何包含任何更改信息的文档。
感谢您的帮助
But it also fails to initialize for ICC_LINK_CLASS.
For Windows 10, Is there is any change "SysLinK Control" ? I cant find any documentation with any change information.
Thanks for the help
推荐答案
WC_LINK
类在 commctrl.h 中定义。
这篇关于在Windows 10中ICC_LINK_CLASS&找不到WC_LINK课程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!