Janet,
a widget is a custom control, with its own event handlers and styles.
The reason, standard API functions and styles are not working with it, is that
it is not standard.
The windows API knows nothing about the LB texteditor and how to comunicate
with it.
LB itself, precisly Smalltalk, is handling all things related to the
texteditor.
The texteditor may consist of standard Windows controls, but they are so
havily tweaked, that Windows can't handle them any more.
Any custom widget can only be controled by the application which created it.
---
Stefan Pendl
> -----Ursprüngliche Nachricht-----
> Von: JanetTerra
>
> Texteditors are not always responsive to API calls and Stylebits.
> It's because they're 'widgets.' Now I don't really know what
> a 'widget' is, but that's what the LB Help File calls texteditors. I
> think what you're really saying is that you want word wrap. That's
> pretty easy, IF you don't care that your user won't be able to start
> a new line by pressing ENTER. You cannot just switch from a textbox
> to a texteditor, though, as the stylebits commands just won't work
> the same. See if this will work. Watch for line wraps, especially
> with the stylebits command.