EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions


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 );



Specifies the window handle of the view or frame of EmEditor.


Specifies the index of the target document. If -1 is specified, the currently active document will be targeted.

Return Values

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.

Copyright 2003-2016 by Emurasoft, Inc.