找回密码
 加入
搜索
查看: 2155|回复: 1

[系统综合] ListView 在使用Explorer样式 列表的竖线 怎么去掉

[复制链接]
发表于 2015-5-9 10:06:47 | 显示全部楼层 |阅读模式




在使用_WinAPI_SetWindowTheme(GUICtrlGetHandle($ListView), 'Explorer')的情况下,怎么去掉竖着的线或改成背景色

#Include <WinAPIEx.au3>

Opt('MustDeclareVars', 1)

If _WinAPI_GetVersion() < '6.0' Then
        MsgBox(16, 'Error', 'Require Windows Vista or later.')
        ;Exit
EndIf

Global $ListView

GUICreate('MyGUI', 332, 400)

$ListView = GUICtrlCreateListView('Column 1|Column 2|Column 3|Column 4', 10, 10, 312, 380)
For $i = 1 To 9
        GUICtrlCreateListViewItem('Item ' & $i & '|' & 'Sub ' & $i & '|' & 'Sub ' & $i & '|' & 'Sub ' & $i, $ListView)
Next

_WinAPI_SetWindowTheme(GUICtrlGetHandle($ListView), 'Explorer')

GUISetState()

Do
Until GUIGetMsg() = -3

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2015-5-9 13:10:36 | 显示全部楼层
学习了!!!!!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-1 21:50 , Processed in 0.078680 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表