刷新系统桌面

//刷新系统桌面
//方法1

uses ShlObj;
SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, nil, nil);

--------------------------------------------------------------------------------
//方法2
SendMessage(FindWindow('Progman', 'Program Manager'), WM_COMMAND, $A065,0);
--------------------------------------------------------------------------------




你可能感兴趣的:(系统)