Page 1 of 3
Once again about multiline StringGadget...
Posted: Sat Apr 03, 2010 8:42 am
by Melissa
...Yes, even at those day and age people still needs simple solutions for text I/O. Well, referenced gadget completely fulfilling my current needs, yet there are some little problems: right I'm just unable to locate any way of making scrolling bars (mostly vertical one) to appear only when they actually needed. It’s first time when MSDN completely fails for me. May be you, people, have any ideas here ?
Re: Once again about multiline StringGadget...
Posted: Sat Apr 03, 2010 9:42 am
by UserOfPure
A search for "multiline stringgadget" has several relevant matches for you. It's not hard.
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 7:45 am
by Melissa
A search for "multiline stringgadget" has several relevant matches for you. It's not hard.
http://www.google.ru/search?hl=en&sourc ... Scrollbars
Fail ?
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 10:16 am
by UserOfPure
No, not fail. You searched via Google, not the forums. Before I posted my reply I did a search, and it had several relevant matches. You try again and you'll find them.
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 11:15 am
by c4s
Try this: "
StringGadget* multiline" and/or with "scroll".
I'm sure you'll find something.
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 12:28 pm
by Melissa
UserOfPure wrote:No, not fail. You searched via Google, not the forums. Before I posted my reply I did a search, and it had several relevant matches. You try again and you'll find them.
http://www.purebasic.fr/english/search. ... &terms=all
That one ?
Try this: "StringGadget* multiline" and/or with "scroll".
I'm trying, yet things aren't going too well.
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 4:11 pm
by PyroStrex
Hi, I believe you can use this:
Code: Select all
StringGadget(#String, 10, 30, 250, 180, "", #ES_MULTILINE | #ES_AUTOVSCROLL | #WS_VSCROLL | #ESB_DISABLE_LEFT | #ESB_DISABLE_RIGHT)
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 4:36 pm
by Melissa
Hi, I believe you can use this:
Fail - scrollbar is still visible even if it aren't enabled.
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 6:48 pm
by c4s
Melissa wrote:Hi, I believe you can use this:
Fail - scrollbar is still visible even if it aren't enabled.
Seriously, is everything ok with you?
All the last posts I read from you were something like "you fail, this fails"... Every member of this forum asks questions and also trys to help others ones so please be more friendly - thanks.
Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 8:03 pm
by Foz
c4s wrote:Melissa wrote:Hi, I believe you can use this:
Fail - scrollbar is still visible even if it aren't enabled.
Seriously, is everything ok with you?
All the last posts I read from you were something like "you fail, this fails"... Every member of this forum asks questions and also trys to help others ones so please be more friendly - thanks.
Fail. You used the word "fail" to look down on someone.

Re: Once again about multiline StringGadget...
Posted: Sun Apr 04, 2010 9:54 pm
by Fluid Byte
Smells like brain fail ...
Listen Melissa, this is no service hotline nor a programming competition so I suggest you take your elementary-school-fail-bulls*** and keep it to yourself in case you ever want to get help again. Deal? (It's a rhetorical question, don't get tempted)
Re: Once again about multiline StringGadget...
Posted: Mon Apr 05, 2010 2:05 am
by UserOfPure
Fluid Byte wrote:take your elementary-school-fail-bulls*** and keep it to yourself in case you ever want to get help again
Right on! I was about to post her some working code but after her second "fail" post I decided against it, and won't be helping her in future anymore either. Rude people aren't worth my time.
Re: Once again about multiline StringGadget...
Posted: Mon Apr 05, 2010 3:09 am
by Fluid Byte
You believe it's really a "her"? Hmmm, call me crazy but I doubt it

Re: Once again about multiline StringGadget...
Posted: Mon Apr 05, 2010 4:22 am
by UserOfPure
I don't really, no. But I didn't want to risk offending by typing "her" in quotes, just in case.
Re: Once again about multiline StringGadget...
Posted: Mon Apr 05, 2010 7:44 am
by Melissa
Well, let's see...
1) It's third day and I still unable to get answer, yet there are plenty of posts here.
2) Looks like that most of posters didn't actually even bothered to read my request.
3) I'm using word 'fail' when it is one.
Since it is.
I was about to post her some working code but after her second "fail" post I decided against it, and won't be helping her in future anymore either.
Was it ever different from PyroStrex’s one) ? Btw, why just post link to topic with ? Wasn't it you, who stated that answer could be found that forum ? Why now, not when I just asked ? Questions, questions...
----------------------------------------
OK, what I got myself so far:
1) There are flag #SIF_DISABLENOSCROLL in SCROLLINFO structure, which should be what I'm searching for, yet it seems to be always off.
2) It's possible to test if scrollbar is enabled or not, yet it should be visible while doing that. Flickering is not too irritating, but still noticeable.
3) Some textarea’s size calculation would work as well, yet I'm still hesitating to use it until there are some hope that more civil methods would be found.
...If only
netmaestro was there -_-...