If, when the cursor is in the position 0.0, press left or up (i.e., an attempt to go outside the editable area), then the standard richedit beeps (bell probably). How to remove this squeaking?
I use CreateWindowEx, an example of creating richedit http://docs.microsoft.com/en-us/windows/desktop/controls/create-rich-edit-controls somewhere like this:
LoadLibrary(TEXT("Msftedit.dll")); HWND hwndEdit= CreateWindowEx(0, MSFTEDIT_CLASS, TEXT("Type here"), ES_MULTILINE | WS_VISIBLE | WS_CHILD | WS_BORDER | WS_TABSTOP, x, y, width, height, hwndOwner, NULL, hinst, NULL); PS In Windows, there is a "bright" example of the meager use of richedit - wordpad. The developers did not bother - the sound was left (or maybe it was conceived). Start wordpad by pressing to the left - and there will be the same screech.
If there is an example for Delphi, for the CRichEdit component and mn that uses the richedit component of WINAPI - that also works, I will find and dig out how to do this in WINAPI.