Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.10.23;
Скачать: CL | DM;

Вниз

MultiLine edit box Horizontal Scroll bar   Найти похожие ветки 

 
Lars   (2005-02-19 03:24) [0]

Say you have text in a multiline editbox (KOLMemo). This text spans past the end of the window. The horizontal scroll bar is now active because of that.

Then when you start to delete the text, and the text is now -not- past the end of window.. the scroll bar does not deactivate or "gray out". It just stays active, like it thinks there is text spanning past the end of the window, bt when in fact it was deleted already.

Was this behaviour in KOL on purpose?
Or is there maybe a property I am missing to make the scrollbar in KolMemo behave like notepad would.

If not, I will trap API messages in Notepad and see what messages I have to add to make the scroll bars Gray Out when text deleted in a line.


 
Lars   (2005-02-19 03:28) [1]

Hmm, actually I just tried notepad and it has the same behaviour!
Scrollbars don"t Gray out until you actually delete -everything- on the line.

Maybe I am used to other editors where the scroll bar is automatically grayed out for you, when there is nothing past end of line.


 
thaddy   (2005-02-19 11:29) [2]

Which is entirely logical, since Notepad is Microsoft"s Shell round the Editbox API control. :) Just like wordpad is a shell for Richedit, nothing more.


 
lo   (2005-02-21 04:03) [3]

Yup everything is just a shell or a wrapper really isn"t it. Everything.. haha.. now if only we could focus our efforts on something original like Delphine OS instead of being slaves to microsoft.



Страницы: 1 вся ветка

Текущий архив: 2005.10.23;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.043 c
2-1127907181
Гость22
2005-09-28 15:33
2005.10.23
Как не дать закрыть свое приложение?


14-1128339203
Bryke
2005-10-03 15:33
2005.10.23
Остаться в живых


3-1126093049
Пантелеев Иван
2005-09-07 15:37
2005.10.23
Поиск + Подставление зап.


4-1124631667
Дмитрий_05
2005-08-21 17:41
2005.10.23
Проблема с WM_SIZE


2-1127999970
Гарри Шалфеевичь
2005-09-29 17:19
2005.10.23
Как найти ПОСЛЕДНИЙ пробел в строке?