CRichEdit.GetModifymethod
Retrieves the state of a rich edit control's modification flag. The flag indicates whether the contents of the rich edit control have been modified.
Syntax
FUNCTION GetModify (BYVAL hRichEdit AS HWND) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. |
Return value
If the contents of edit control have been modified, the return value is nonzero; otherwise, it is zero.
Description
Retrieves the state of a rich edit control's modification flag. The flag indicates whether the contents of the rich edit control have been modified.
Remarks
The system automatically clears the modification flag to zero when the control is created. If the user changes the control's text, the system sets the flag to nonzero. You can send the SetModify message to the edit control to set or clear the flag.
Reference
- Defined in AfxNova/CRichEdit.inc:549
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class