◄Notification Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINENTRYFIELDS WM_CONTROL id = (USHORT) SHORT1FROMMP(mp1); /* control-window ID */ usNotifyCode = EN_MEMERROR; hwndEdit = HWNDFROMMP(mp2); /* window handle of entry field */ The EN_MEMERROR notification message is sent when an entry-field control cannot allocate the memory necessary to accommodate window text of the length specified by the EM_SETTEXTLIMIT message. Parameter Description ──────────────────────────────────────────────────────────────────────────── id Low word of mp1. Identifies the control window. usNotifyCode High word of mp1. Set to EN_MEMERROR. hwndEdit Low and high word of mp2. Identifies the entry-field window. See Also EM_SETTEXTLIMIT, WM_CONTROL ♦