想让您的桌面文字背景透明吗?
2007-11-27 17:49:03 来源:WEB开发网核心提示:int main(void){ HWND hWnd; hWnd = GetDesktopWindow(); if ((hWnd = FindWindowEx(hWnd, 0, Progman, Program Manager)) == 0) return 1; if ((hWnd = FindWindowE
int main(void)
{
HWND hWnd;
hWnd = GetDesktopWindow();
if ((hWnd = FindWindowEx(hWnd, 0, Progman, Program Manager)) == 0)
return 1;
if ((hWnd = FindWindowEx(hWnd, 0, SysListView32, NULL)) == 0)
return 1;
SendMessage(hWnd, 0x1024, 0, 0x00ffffff); // Turn foregound to white
InvalidateRect(hWnd, NULL, TRUE); // Repaint
return 0;
} // main()
更多精彩
赞助商链接