兄弟,你自己查一查这些API函数,如果查不到,给我EMAIL:[email protected] = FindWindow("Progman", "Program Manager")
hWindow = FindWindowEx(hWindow, 0, "SHELLDLL_DefView", "")
hWindow = FindWindowEx(hWindow, 0, "SysListView32", "")SendMessage hWindow, LVM_SETTEXTBKCOLOR, 0, &HFFFFFFFF'设置图标文字的颜色
SendMessage hWindow, LVM_SETTEXTCOLOR, 0, Color '设置一个RGB颜色值'重新绘制所有图标
lItemCount = SendMessage(hWindow, LVM_GETITEMCOUNT, 0, 0)
SendMessage hWindow, LVM_REDRAWITEMS, 0, lItemCount - 1'更新窗体
'UpdateWindow hWindow
hWindow = FindWindowEx(hWindow, 0, "SHELLDLL_DefView", "")
hWindow = FindWindowEx(hWindow, 0, "SysListView32", "")SendMessage hWindow, LVM_SETTEXTBKCOLOR, 0, &HFFFFFFFF'设置图标文字的颜色
SendMessage hWindow, LVM_SETTEXTCOLOR, 0, Color '设置一个RGB颜色值'重新绘制所有图标
lItemCount = SendMessage(hWindow, LVM_GETITEMCOUNT, 0, 0)
SendMessage hWindow, LVM_REDRAWITEMS, 0, lItemCount - 1'更新窗体
'UpdateWindow hWindow
Const LVM_SETBKIMAGEA = LVM_FIRST + 68
Const LVM_GETITEMCOUNT = LVM_FIRST + 4
Const LVM_SETTEXTCOLOR = LVM_FIRST + 36
Const LVM_REDRAWITEMS = LVM_FIRST + 21
Const LVM_SETTEXTBKCOLOR = LVM_FIRST + 38
Const LVM_SETITEMPOSITION = LVM_FIRST + 15
大家看看还有别的方法吗?或者谁实现过!