CodePudding user response:
What is the content box? Memo?CodePudding user response:
Application - & gt; Keyboard message interception OnMessage event handling process, if the Enter key/send a message, if it is Shift + Enter, send Memo1 controls the key message (Enter key), OnMessage capture not use SendMessage messages sent directly to the window, because it's not through the message queue,CodePudding user response: