This is just suposed to clear the edit box when enter is pressed (and later some processing of that text) but each time enter is pressed it makes the default sound even though VK_RETURN message isn't passed to the default edit procedure. so How do I get rid of this sound each time enter is pressed.

10-25-2003

bennyandthejets

ES_WANTRETURN or ES_MULTILINE should do the trick. Either create the edit control with one of these styles, or change it later on.