Hello,
I figured out a way to close windows explorer window.Below is the code.
nHwnd = FindWindow ("ExploreWClass","");
if (nHwnd = NULL) then
MessageBox ("Unable to find the Explorer window.", SEVERE);
else
SendMessage(nHwnd, WM_SYSCOMMAND,WM_CLOSE, 0);
PostMessage(nHwnd,WM_CLOSE,0,0);
endif;
The above code closes one window.I need to close all the open windows explorers while installation.
Please help.
Thanks.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How close all windows explorer
Started by
Divyak
, Feb 24 2005 21:25
2 replies to this topic