hButton3=CreateWindow("BUTTON","Click", BS_PUSHBUTTON | BS_TEXT | WS_CHILD | WS_OVERLAPPED | WS_VISIBLE,20,20,100,35,hWnd,(HMENU)BUTTON_ID, 0, NULL);
hButton = CreateWindow("syslistview32", "", LVS_ALIGNTOP | LVS_REPORT | LVS_SHOWSELALWAYS | WS_CHILD | WS_HSCROLL | WS_OVERLAPPED | WS_VISIBLE | WS_VSCROLL|WS_EX_LEFT | WS_EX_LTRREADING | WS_EX_RIGHTSCROLLBAR | WS_EX_STATICEDGE,180,180,301,200,hWnd, NULL,NULL, NULL);
相差好大啊..
鄙人最近才开始学习api
请各位大虾多指教..
11 个解决方案
#1
虽然不懂。。但图挂了。。
#2
万恶的百度...
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/95037dec7dbbc73c7af05529.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/d20b51cb5f1cce35f01fe721.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/ebd2405d53d89730f9f2c02a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/7fbc2b35096276c4d2a2d32a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/95037dec7dbbc73c7af05529.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/d20b51cb5f1cce35f01fe721.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/ebd2405d53d89730f9f2c02a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/7fbc2b35096276c4d2a2d32a.jpg
#3
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/95037dec7dbbc73c7af05529.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/d20b51cb5f1cce35f01fe721.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/ebd2405d53d89730f9f2c02a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/7fbc2b35096276c4d2a2d32a.jpg
#4
#5
抱歉。。容我在插一下。。其实图还是看不到。。
#6
两个不同的控件怎么比?
#7
...
#8
这样可以看出差别来了吧...
#9
内嵌一个manifest
至少有以下文字
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Microsoft.Winweb.<Executable Name>"
type="win32"
/>
<description>fuck</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
创建窗口前调用InitCommonControlsEx
至少有以下文字
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Microsoft.Winweb.<Executable Name>"
type="win32"
/>
<description>fuck</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
创建窗口前调用InitCommonControlsEx
#10
样式不同是因为你们加载的comctl32.dll版本不一样,system32\comctl32.dll是第5版的
winsxs里面的第6版才好看点
winsxs里面的第6版才好看点
#11
回复10楼:
谢谢 现在调用了6.0.0.0的静态链接库 效果好看多了
结贴了
谢谢 现在调用了6.0.0.0的静态链接库 效果好看多了
结贴了
#1
虽然不懂。。但图挂了。。
#2
万恶的百度...
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/95037dec7dbbc73c7af05529.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/d20b51cb5f1cce35f01fe721.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/ebd2405d53d89730f9f2c02a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/7fbc2b35096276c4d2a2d32a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/95037dec7dbbc73c7af05529.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/d20b51cb5f1cce35f01fe721.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/ebd2405d53d89730f9f2c02a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/7fbc2b35096276c4d2a2d32a.jpg
#3
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/95037dec7dbbc73c7af05529.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/d20b51cb5f1cce35f01fe721.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/ebd2405d53d89730f9f2c02a.jpg
http://hiphotos.baidu.com/%C3%A8%C3%A8%BA%C3%B9%D4%E0%DE/pic/item/7fbc2b35096276c4d2a2d32a.jpg
#4
#5
抱歉。。容我在插一下。。其实图还是看不到。。
#6
两个不同的控件怎么比?
#7
...
#8
这样可以看出差别来了吧...
#9
内嵌一个manifest
至少有以下文字
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Microsoft.Winweb.<Executable Name>"
type="win32"
/>
<description>fuck</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
创建窗口前调用InitCommonControlsEx
至少有以下文字
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Microsoft.Winweb.<Executable Name>"
type="win32"
/>
<description>fuck</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
创建窗口前调用InitCommonControlsEx
#10
样式不同是因为你们加载的comctl32.dll版本不一样,system32\comctl32.dll是第5版的
winsxs里面的第6版才好看点
winsxs里面的第6版才好看点
#11
回复10楼:
谢谢 现在调用了6.0.0.0的静态链接库 效果好看多了
结贴了
谢谢 现在调用了6.0.0.0的静态链接库 效果好看多了
结贴了