1.用CWindowDC绘制文字,绘图等操作,如何实现屏幕刷新哪??
2.用spy++查看屏幕可以看出屏幕控件。。
3、
HWND hDesktop;
hDesktop = ::FindWindow( "Progman", "Program Manager");
hDesktop = ::FindWindowEx(hDesktop, 0, "SHELLDLL_DefView", "");
hDesktop = ::FindWindowEx(hDesktop, 0, "SysListView32", "");
::InvalidateRect(hDesktop,NULL,true);
::SendMessage(hDesktop,WM_PAINT,0,0);
用以上代码可以实现屏幕的刷新。。