Open a Folder

Open a Folder

Postby MarcoBoschi » Wed Nov 14, 2012 1:27 pm

Dear friends
using this command I Open a folder

SHELLEXECUTE( 0 , 0 , cFolder , 0 , 0 , 1 )

where cFolder contains a name of a folder i.e. "c:\myprogram\images"


How can I close it?

bye
marco
User avatar
MarcoBoschi
 
Posts: 1025
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Open a Folder

Postby PeterHarmes » Thu Nov 15, 2012 2:34 pm

If you know the name of the window, use this:

SendMessage( FindWindow( 0, cWindowName, WM_CLOSE )

Hope this helps.

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Open a Folder

Postby MarcoBoschi » Fri Nov 16, 2012 11:00 am

Ok
Thanks
User avatar
MarcoBoschi
 
Posts: 1025
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests

cron