Contents Index Topic Contents | ||
Previous Topic: COMBOBOXEXITEM Next Topic: NMCBEDRAGBEGIN |
NMCBEENDEDIT
typedef struct { NMHDR hdr; BOOL fChanged; int iNewSelection; TCHAR szText[CBEMAXSTRLEN]; // CBEMAXSTRLEN is 260 int iWhy; } NMCBEENDEDIT, *PNMCBEENDEDIT;Contains information about the conclusion of an edit operation within a ComboBoxEx control. This structure is used with the CBEN_ENDEDIT notification message.
- hdr
- NMHDR structure that contains information about the notification message.
- fChanged
- Value indicating whether the contents of the control's edit box have changed. This value is nonzero if the contents have been modified, or zero otherwise.
- iNewSelection
- Zero-based index of the item that will be selected after completing the edit operation. This value can be CB_ERR if no item will be selected.
- szText
- Zero-terminated string that contains the text from within the control's edit box.
- iWhy
- Value that specifies the action that generated the CBEN_ENDEDIT notification message. This value can be one of the following:
CBENF_DROPDOWN The user activated the drop-down list. CBENF_ESCAPE The user pressed ESC. CBENF_KILLFOCUS The edit box lost the keyboard focus. CBENF_RETURN The user completed the edit operation by pressing ENTER.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.