Editor_DocSaveFileA¶
Saves the text of the specified document to a specified file. The file name is specified as an ANSI string. You can use this inline function or explicitly send the EE_SAVE_FILEA message.
Editor_DocSaveFileA( HWND hwnd, int iDoc, BOOL bReplace, LPSTR szFileName ); hwnd Specifies the window handle of the view or frame of EmEditor. iDoc Specifies the zero-based index of the target document. If -1 is specified, the currently active document will be targeted. bReplace Specifies TRUE if the text will be saved under a specified name; the
file name EmEditor holds and the title shown on the EmEditor Window will be
changed. Specifies FALSE if a copy of the text is saved; the file name
EmEditor holds will not be changed. szFileName Specifies a full path file name in bytes. If it is succeeded, the return value is nonzero. If it isn't succeeded, the
return value is zero. Supported on EmEditor Professional Version 5.00 or later.Parameters¶
Return Values¶
Version¶