*WvA: 13-01-1999 Created
The Class cSelectFile_Dialog is created to support the function Select_File
This function opens the Windows standard file open dialog and returns the selected
file_name.
FileOperation String sSource String sDestination Integer iOperation Integer iFlags Returns Integer - Function
This function uses the shell API to perform a file operation on the
files supplied.
sfoRenameFile String sSource String sDestination Returns Integer - Function
Rename a file or folder
Returns a nonzero value if the operation failed.
sfoFormatDisk String sDrive Integer iOptions Returns DWORD - Function
Courtesy Of Steve Walter
Requires Windows 2000 and up according to msdn but it was
in fact available before that as an unpublished API call
a little google search shows that this was already available
in windows 95 and NT
The format is controlled by the dialog interface.
That is, the user must click the OK button To actually Begin the format
the format cannot be started programmatically.
An alternative to this functionality would be to use a controlpanel
http://www.vdf-guidance.com/ContribPage.asp?Page=PKGCLSDFCPLAPP&ContribRecId=93
hWnd = The windows handle of the object from which the format Function
is called.
To Get this,
use: Get Window_Handle Of