Re: Win32 editing of MLE
- Posted by Irv Mullins <irv at ELLIJAY.COM> Nov 02, 1999
- 501 views
On Tue, 02 Nov 1999, you wrote: > On Tue, 2 Nov 1999 19:54:54 -0500, Judith Evans <camping at FLASH.NET> wrote: > > >I want to allow selection with the mouse of a portion of text in a MLE for > >copy/cut/paste operations. Can anyone tell me, programatically, how I > would > >do that? The program is including Win32lib.ew. I know how to program the > >copy/cut and paste. It is how to know what portion of the MLE has been > >selected about which I am clueless. > > > >Thanks, > >Judith > > Those edit properties are inherent to an MLE text box. Windows does that > work for you. 8^) A related question: how can I programatically select the text in an EditText control and highlight it ? What I am trying for is to fill the edit boxes with default wording which will be highlighted when you tab into that control, and either replaced with whatever new keystrokes are typed, or left as-is if the control is tabbed out of. Currently, the default data is there, with the cursor at the end of the default string. You have to backspace the old data out, or highlight with the mouse before typing new data. Much too slow. Thanks, Irv