FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Open a Folder
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Open a Folder
Posted: Wed Nov 14, 2012 01: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

Marco Boschi
info@marcoboschi.it
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Open a Folder
Posted: Thu Nov 15, 2012 02:34 PM

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

SendMessage( FindWindow( 0, cWindowName, WM_CLOSE )

Hope this helps.

Pete

Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Open a Folder
Posted: Fri Nov 16, 2012 11:00 AM

Ok
Thanks

Marco Boschi
info@marcoboschi.it

Continue the discussion