Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_DocGetModified

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

Editor_DocGetModified

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

Parameters

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.

Return Values

If the text is modified, the return value is TRUE. If the text is not modified, the return value is FALSE.

Version

Supported on EmEditor Professional Version 5.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.