Retrieves the modified state of the text of the specified document. You can use this inline function or explicitly send the EE_GET_MODIFIED message.
Editor_DocGetModified( HWND hwnd, int iDoc );
hwnd
Specifies the window handle of the view or frame of EmEditor.
iDoc
Specifies the index of the target document. If -1 is specified, the currently active document will be targeted.
If the text is modified, the return value is TRUE. If the text is not modified, the return value is FALSE.
Supported on EmEditor Professional Version 5.00 or later.
Send feedback on this topic to Emurasoft