... ma ES_WANTRETURN è impiegato per i multiline edit control e non questo stile non ha effetto su un single-line edit controlOriginariamente inviato da CyberPro
Di solito le edit non catturano il message di return... Devi provare a modificare lo stile della EDIT aggiungendo ES_WANTRETURN :master:
... ed allora come si cattura NM_RETURN che secondo le sdk:
The NM_RETURN notification message notifies the parent window of a control that the control has the input focus and that the user has pressed the ENTER key. NM_RETURN is sent in the form of a WM_NOTIFY message.

Rispondi quotando