| | Version | 1.0 Beta | 
|---|
 | Author(s) |  | 
|---|
 | License(s) | Mozilla Public License (MPL) | 
|---|
 | Dependencies | DWS Units Delphi Packages | 
|---|
 | Units | MFBasic - Basic functions like Beep, Sleep, GetTickCount, ...MFConnection - Functions to determine the connections state of a dial up network and the current IP address.MFFile - File utility functionsMFInfo - Information about Windows version, current user and Windows directories.MFIniFiles - Writing and reading Windows INI-filesMFRegistry - Querying and modifying registry valuesMFShell - Contains a function to refresh the desktop itemsMFString - String utility functionsMFSystem - Windows events, Mail Slots, ShellExecute and so on...MFWindow - Functions to find, manipulate and close windowsMFDialog - Contains the function SelectStringDialog() that displays a box to select one from a list of strings.MFZip - Functions to create and manipulate ZIP-files
 | 
|---|
 | Compatibility | Delphi 5, Delphi 6, Delphi 7 | 
|---|
 | Documentation | Basic  show... Constants
----------
-
Functions
----------
procedure Beep;
function  Dec(var I: Integer): Integer;
function  Dec2(var I: Integer; N: Integer): Integer;
function  Inc(var I: Integer): Integer;
function  Inc2(var I: Integer; N: Integer): Integer;
function  GetTickCount: Integer;
procedure Sleep(mSecs: Integer);
procedure WriteLn(Text: String);Connection  show... Constants
----------
-
Functions
----------
function Connected: Boolean;
function IPAddress: String;Dialog  show... Constants
----------
-
Functions
----------
function SelectStringDialog(Title: String; Strings: TStringList; Selected: Integer): Integer;File  show... Constants
----------
DRIVE_UNKNOWN
DRIVE_NO_ROOT_DIR
DRIVE_REMOVABLE
DRIVE_FIXED
DRIVE_REMOTE
DRIVE_CDROM
DRIVE_RAMDISK
FILEDATE_CREATION
FILEDATE_LASTACCESS
FILEDATE_LASTWRITE
MOVEFILE_REPLACE_EXISTING
MOVEFILE_COPY_ALLOWED
MOVEFILE_DELAY_UNTIL_REBOOT
MOVEFILE_WRITE_THROUGH
MOVEFILE_CREATE_HARDLINK
MOVEFILE_FAIL_IF_NOT_TRACKABLE
Functions
----------
function  DescCopy(Source, Target: String): Boolean;
function  DescListCreate(Dir: String): TStringList;
function  DescListRead(List: TStringList; FileName: String): String;
function  DescMove(Source, Target: String): Boolean;
function  DescRead(Filename: String): String;
function  DescWrite(FileName, Desc: String): Boolean;
function  OpenDialog(FileName, InitialDir, Title, DefaultExt, Filter: String; FilterIndex: Integer): String;
function  OpenDialogMulti(FileName, InitialDir, Title, DefaultExt, Filter: String; FilterIndex: Integer): TStringList;
function  SaveDialog(FileName, InitialDir, Title, DefaultExt, Filter: String; FilterIndex: Integer): String;
function  CDClose(Drive: Integer): Boolean;
function  CDOpen(Drive: Integer): Boolean;
function  GetCRC32FromFile(FileName: String): Integer;
function  GetDriveName(Drive: Integer): String;
function  GetDriveNum(Drive: String): Integer;
function  GetDriveReady(Drive: Integer): Boolean;
function  GetDriveSerial(Drive: Integer): String;
function  GetDriveType(Drive: Integer): Integer;
function  DirectoryExists(DirName: String): Boolean;
function  DirectoryList(DirName: String; Recurse, Hidden): TStringList;
function  CopyFile(Source, Target: String; Fail: Boolean): Boolean;
function  FileDate(FileName: String; Flag: Integer): DateTime;
function  FileList(FileName: String; Recurse, Hidden, Dirs: Boolean): TStringList;
function  FileSize(FileName: String): Integer;
function  MakePath(Drive, Dir, Name, Ext: String): String;
function  MoveFile(Source, Target: String): Boolean;
function  MoveFileEx(Source, Target: String; Flags: Integer): Boolean;
function  ReadOnlyPath(Path: String): Boolean;
procedure SplitPath(Path: String; var Drive, Dir, Name, Ext: String);
function  SubdirectoryExists(Dir: String): Boolean;Info  show... Constants
----------
VER_UNKNOWN
VER_WIN32S
VER_WIN95
VER_WIN98
VER_WIN98SE
VER_WINME
VER_WINNT
VER_WINNT4
VER_WIN2000
Functions
----------
function  GetAllUsersDesktopDirectory: String;
function  GetAllUsersProgramsDirectory: String;
function  GetAllUsersStartmenuDirectory: String;
function  GetAllUsersStartupDirectory: String;
function  GetAppdataDirectory: String;
function  GetCacheDirectory: String;
function  GetChannelFolderName: String;
function  GetCommonFilesDirectory: String;
function  GetComputerName: String;
function  GetConsoleTitle: String;
function  GetCookiesDirectory: String;
function  GetCPUSpeed: String;
function  GetDesktopDirectory: String;
function  GetDevicePath: String;
function  GetEnvironmentVariable: String;
function  GetFavoritesDirectory: String;
function  GetFontsDirectory: String;
function  GetHistoryDirectory: String;
function  GetLinkfolderName: String;
function  GetMediaPath: String;
function  GetNethoodDirectory: String;
function  GetPersonalDirectory: String;
function  GetPFAccessoriesName: String;
function  GetPrinthoodDirectory: String;
function  GetProgramfilesDirectory: String;
function  GetProgramsDirectory: String;
function  GetRecentDirectory: String;
function  GetSendtoDirectory: String;
function  GetSMAccessoriesName: String;
function  GetStartmenuDirectory: String;
function  GetStartupDirectory: String;
function  GetSystemDirectory: String;
function  GetTempDirectory: String;
function  GetTemplatesDirectory: String;
function  GetUserName: String;
function  GetVersion: String;
function  GetWallpaperDirectory: String;
function  GetWindowsDirectory: String;
function  GetWindowsVersion: String;
function  IsWin2000: Boolean;
function  IsWin9x: Boolean;
function  IsWinNT: Boolean;
function  IsWinNT4: Boolean;
function  SetComputerName: String;
function  SetConsoleTitle: String;IniFiles  show... Klasse TIniFile
---------------
procedure TIniFile.Create(FileName: String);
procedure TIniFile.Destroy;
procedure TIniFile.DeleteKey(Section: String; Ident: String);
procedure TIniFile.EraseSection(Section: String);
function  TIniFile.ReadBool(Section: String; Ident: String; Default: Boolean): Boolean;
function  TIniFile.ReadDate(Section: String; Ident: String; Default: DateTime): DateTime;
function  TIniFile.ReadDateTime(Section: String; Ident: String; Default: DateTime): DateTime;
function  TIniFile.ReadFloat(Section: String; Ident: String; Default: Float): Float;
function  TIniFile.ReadInteger(Section: String; Ident: String; Default: Integer): Integer;
procedure TIniFile.ReadSection(Section: String; Strings: TStringList);
procedure TIniFile.ReadSections(Strings: TStringList);
procedure TIniFile.ReadSectionValues(Section: String; Strings: TStringList);
function  TIniFile.ReadString(Section: String; Ident: String; Default: String): String;
function  TIniFile.ReadTime(Section: String; Ident: String; Default: DateTime): DateTime;
function  TIniFile.SectionExists(Section: String): Boolean;
procedure TIniFile.UpdateFile;
function  TIniFile.ValueExists(Section: String; Ident: String): Boolean;
procedure TIniFile.WriteBool(Section: String; Ident: String; Value: Boolean);
procedure TIniFile.WriteDate(Section: String; Ident: String; Value: DateTime);
procedure TIniFile.WriteDateTime(Section: String; Ident: String; Value: DateTime);
procedure TIniFile.WriteFloat(Section: String; Ident: String; Value: Float);
procedure TIniFile.WriteInteger(Section: String; Ident: String; Value: Integer);
procedure TIniFile.WriteString(Section: String; Ident: String; Value: String);
procedure TIniFile.WriteTime(Section: String; Ident: String; Value: DateTime);
property  TIniFile.FileName: String;Registry  show... Constants
----------
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_PERFORMANCE_DATA
HKEY_CURRENT_CONFIG
HKEY_DYN_DATA
Functions
----------
procedure RegCreateKey(MainKey: Integer; SubKey: String);
procedure RegDeleteKey(MainKey: Integer; SubKey: String);
procedure RegDeleteValue(MainKey: Integer; SubKey: String; ValName: String);
function  RegReadInteger(MainKey: Integer; SubKey: String; ValName: String; ValDef: Integer): Integer;
function  RegReadString(MainKey: Integer; SubKey: String; ValName: String; ValDef: String): String;
function  RegGetType(MainKey: Integer; SubKey: String; ValName: String; var Size: Integer): Integer;
function  RegKeyExists(MainKey: Integer; SubKey: String): Boolean;
function  RegValueExists(MainKey: Integer; SubKey: String; ValName: String): Boolean;
procedure RegWriteInteger(MainKey: Integer; SubKey: String; ValName: String; Value: Integer);
procedure RegWriteString(MainKey: Integer; SubKey: String; ValName: String; Value: String);Shell  show... Constants
----------
-
Functions
----------
DesktopRefresh;String  show... Constants
----------
cdrLeft
cdrRight
Functions
----------
function  ANSI2OEM(S: String): String;
function  ChangeTokenValue(S: String; Name: String; Value: String; Delimiter: String): String;
function  Chr(Byte: Integer): String;
function  CmpRE(S: String; RE: String): Boolean;
function  CmpWC(S: String; WC: String; Case: Boolean): Boolean;
function  Crop(S: String; Len: Integer; Dir: Integer; Delimiter: String)
function  ForEach(List: TStringList; Func: String; Flag: Integer): Boolean;
procedure FormatColumns(List: TStringList; Delimiter: String; Space: String; Adjustment: Integer);
function  GetCRC32FromString(S: String): Integer;
function  GetStringFromList(List: TStringList; Delimiter: String): String;
function  GetTokenList(S: String; Delimiter: String; Repeater: Boolean; IgnoreFirst: Boolean; IgnoreLast: Boolean): TStringList;
function  IncWC(S: String; WC: String; Case: Boolean): String;
function  Num2Text(Num: Integer): String;
function  OEM2ANSI(S: String): String;
function  Ord(Char: String): Integer;
function  PosX(SubStr: String; S: String): Integer;
function  StringOfChar(Ch: String; Count: Integer): String;
function  TestWC(S: String): Integer;
function  Translate(S: String; Out: String; In: String; Place: String; Case: Boolean): String;System  show... Constants
----------
SW_HIDE
SW_SHOWNORMAL
SW_NORMAL
SW_SHOWMINIMIZED
SW_SHOWMAXIMIZED
SW_MAXIMIZE
SW_SHOWNOACTIVE
SW_SHOW
SW_MINIMIZE
SW_SHOWMINNOACTIVE
SW_SHOWNA
SW_RESTORE
SW_SHOWDEFAULT
EWX_LOGOFF
EWX_SHUTDOWN
EWX_REBOOT
EWX_FORCE
EWX_POWEROFF
EWX_FORCEIFHUNG
Nachrichten-Constants für PostMessage() und SendMessage() siehe Datei dws2MFLibMessages.txt
Functions
----------
function  ShellExecute(Operation: String; Filename: String; Parameters: String; Directory: String; ShowCmd: Integer): Integer;
function  ShellExecuteWait(Filename: String; Parameters: String; Directory: String; ShowCmd: Integer): Boolean;
function  ExitWindowsEx(Flags: Integer): Integer;
function  WriteMailslot(Machine: String; Mailslot: String; Text: String): Boolean;
function  GetProcessList: TStringList;
function  HiWord(Value: Integer): Integer;
function  IsFileActive(FileName: String): Boolean;
function  KillProcess(Window: Integer; FileName: String; KillAll: Boolean): Boolean;
function  LoWord(Value: Integer): Integer;
function  MakeLong(Low, High: Integer): Integer;
function  PostMessage(Window, Msg, WParam, LParam: Integer): Boolean;
procedure SendKeys(Keys: String);
procedure SendKeysEx(Keys: String; Wait: Integer);
function  SendKeysNamedWin(Window: String; Keys: String): Integer;
function  SendKeysNamedWinEx(Window: String; Keys: String; Wait: Integer; Back: Boolean): Integer;
function  SendKeysWin(Window: Integer; Keys: String): Integer;
function  SendKeysWinEx(Window: Integer; Keys: String; Wait: Integer; Back: Boolean): Integer;
function  SendMessage(Window, Msg, WParam, LParam: Integer): Integer;System  show... Constants
----------
-
Functions
----------
function  FindWindow(Class: String; Window: String): Integer;
function  FindWindowEx(Parent: Integer; ChildAfter: Integer; Class: String; Window: String): Integer;
function  GetClassName(Window: Integer): String;
function  GetWindowText(Window: Integer): String;
procedure HideTaskbar;
function  IsIconic(Window: Integer): Boolean;
function  IsWindow(Window: Integer): Boolean;
function  IsWindowEnabled(Window: Integer): Boolean;
function  IsWindowVisible(Window: Integer): Boolean;
function  IsZoomed(Window: Integer): Boolean;
function  SearchWindow(var Class; var Window: String; ProcID: Integer): Integer;
function  SearchWindowEx(Parent: Integer; ChildAfter: Integer; var Class; var Window: String; Num: Integer): Integer;
procedure ShowTaskbar;
function  WaitForWindow(var Class; var Window: String; Timeout: Integer; ProcID: Integer): Integer;
function  WaitForWindowClose(Window: Integer; Timeout: Integer): Boolean;
function  WaitForWindowClose(Class: String; Window: String; Timeout: Integer; ProcID: Integer): Boolean;
function  WaitForWindowEnabled(Window: Integer; Timeout: Integer): Boolean;
function  WaitForWindowEnabled(Class: String; Window: String; Timeout: Integer; ProcID: Integer): Boolean;
function  WaitForWindowEx(Parent: Integer; var Class; var Window: String; Timeout: Integer; Num: Integer): Integer;
procedure WindowMove(Window: Integer; X: Integer; Y: Integer; Abs: Boolean);
procedure WindowResize(Window: Integer; X: Integer; Y: Integer; Abs: Boolean);Zip  show... Constants
----------
Zip_Add
Zip_Move
Zip_Update
Zip_Freshen
Zip_Extract
Zip_Test
Zip_OverwriteConfirm
Zip_OverwriteAlways
Zip_OverwriteNever
Zip_EraseFinal
Zip_EraseAllowUndo
Classes
-------
TZip
constructor TZip.Create;
destructor  TZip.Destroy;
function  TZip.Add(Action: Integer; ZipFile: String; FileName: String): Integer;
function  TZip.AddList(Action: Integer; ZipFile: String; FileNames: TStringList): Integer;
function  TZip.Delete(ZipFile: String; FileName: String): Integer;
function  TZip.DeleteList(ZipFile: String; FileNames: TStringList): Integer;
function  TZip.Extract(Action: Integer; ZipFile: String; FileName: String): Integer;
function  TZip.ExtractList(Action: Integer; ZipFile: String; FileNames: TStringList): Integer;
function  TZip.List(ZipFile: String): TStringList;
function  TZip.Message(ZipFile: String): String;
function  TZip.ReadSpan(SpanFile: String; var ZipFile: String): Integer;
function  TZip.SFX2ZIP(ZipFile: String): Integer;
function  TZip.WriteSpan(ZipFile: String; SpanFile: String): Integer;
function  TZip.ZIP2SFX(ZipFile: String): Integer;
property TZip.AddCompLevel: Integer;
property TZip.AddDirNames: Boolean;
property TZip.AddDiskSpan: Boolean;
property TZip.AddDiskSpanErase: Boolean;
property TZip.AddEncrypt: Boolean;
property TZip.AddHiddenFiles: Boolean;
property TZip.AddRecurseDirs: Boolean;
property TZip.AddSeparateDirs: Boolean;
property TZip.AddZipTime: Boolean;
property TZip.ConfirmErase: Boolean;
property TZip.ExtrDirNames: Boolean;
property TZip.ExtrOverwrite: Boolean;
property TZip.HowToDelete: Boolean;
property TZip.KeepFreeOnDisk1: Integer;
property TZip.MaxVolumeSize: Integer;
property TZip.MinFreeVolumeSize: Integer;
property TZip.Password: String;
property TZip.SFXAskCmdLine: Boolean;
property TZip.SFXAskFiles: Boolean;
property TZip.SFXCaption: String;
property TZip.SFXCommandLine: String;
property TZip.SFXDefaultDir: String;
property TZip.SFXHideOverwriteBox: Boolean;
property TZip.SFXOverwriteMode: Integer;
property TZip.Temp: String; | 
|---|
 |