Page 1 of 2
completely forbid the scrollbars of editorgadget
Posted: Sat Apr 02, 2005 3:08 am
by Hroudtwolf
Hello PB-World,
I want to create a Editorgadget without scrollbars and it works.
But always when i resize the childwindow where the editorgadget is, the scrolbars are visibly again.
How to forbid the scrollbars of a editorgadget? FOREVER ?
I called the microsoft-hotline and sayed to the servicewoman, that i don't need any scrollbars in the next windowsversion.

Posted: Sat Apr 02, 2005 3:28 am
by Sparkie
Hroudtwolf wrote:I called the microsoft-hotline and sayed to the servicewoman, that i don't need any scrollbars in the next windowsversion.
Well she just emailed me and told me to show you this...
Code: Select all
SendMessage_(GadgetID(0),#EM_SHOWSCROLLBAR, #SB_VERT, 0) ; Vertical off
SendMessage_(GadgetID(0),#EM_SHOWSCROLLBAR, #SB_HORZ, 0) ; Horizontal off
SendMessage_(GadgetID(0),#EM_SHOWSCROLLBAR, #SB_VERT, 1) ; Vertical on
SendMessage_(GadgetID(0),#EM_SHOWSCROLLBAR, #SB_HORZ, 1) ; Horizontal on
Posted: Sat Apr 02, 2005 3:35 am
by Hroudtwolf
Yeah, It works very properly.
I thank you very much ! You are the defnder of my night.

Posted: Sat Apr 02, 2005 4:44 am
by NoahPhense
OMG.. sparkie rules.. how do you get those answers so quick..
Posted: Sat Apr 02, 2005 5:12 am
by Sparkie
NoahPhense wrote:...how do you get those answers so quick..
Maybe it's because I'm a good guesser, or maybe I use logic and my above average research skills, or maybe it's because my real name is Bill G?T?S

Posted: Sat Apr 02, 2005 7:33 am
by Xombie
I've said it before and I imagine I'll say it many times yet. Sparkie is awesome. He's answered many of my tough questions with not only simple answers but excellent code as well.
m(._.)m I bow to the master

Posted: Sat Apr 02, 2005 5:45 pm
by NoahPhense
Xombie wrote:I've said it before and I imagine I'll say it many times yet. Sparkie is awesome. He's answered many of my tough questions with not only simple answers but excellent code as well.
m(._.)m I bow to the master

Oh there is no doubt that Sparkie is one of the best coders in here. He
always has good answers.
- np
Posted: Sun Apr 03, 2005 12:27 am
by Sparkie
@All - Thanks for the kind words.
I don't pretend to know everything when it comes to coding. In fact there is soooo much more for me to learn.

Quite often I'm simply posting
learn-as-I-go code. If the code isn't in my own snippet folder, then I simply Google my way around and go into msdn SDK and put the pieces together.
Then there are times when a simple search in this Forum will bring up the answer, or at least part of it, and I just fill in the blanks. I do try to remember to give credit where credit is due, but there may have been times when I didn't do so. If you ever catch me doing that, please let me know. I don't want to steal anyones thunder.

Posted: Sun Apr 03, 2005 1:10 am
by GeoTrail
@Sparkie, speaking of snippet folder.
Just a curious qeustion from a curious guy, how DO YOU organize your snippets? Do you use a specific program?
Posted: Sun Apr 03, 2005 1:23 am
by Sparkie
That's becoming more and more of problem for me GeoTrail. There is little or no organization in my snippets folders

I have at least 3 separate folders full of snippets. I keep telling myself it's time to something about it, but I keep talking myself out of it.
I think it's time to either find an organizer, or create one myself.

Posted: Sun Apr 03, 2005 1:28 am
by Hroudtwolf
I downloaded the CodeArchive from Purearea.Net and extracted the folders in a "CODEARCHIV"-Folder. A put all new codes in the true folders of the codearchivfolder.
Posted: Sun Apr 03, 2005 1:42 am
by GeoTrail
@Sparkie, hehehe yeah know how you feel.
I am extremely disorganized myself when it comes to code snippets. Must admit I use the search feature in Windows ALOT hehehe.
If you do decide to code your own snippet organizer for PB I KNOW there are lots of people who would want one. Heck, I'd even pay for it if it had syntax highlighting

Posted: Sun Apr 03, 2005 5:28 am
by NoahPhense
GeoTrail wrote:@Sparkie, hehehe yeah know how you feel.
I am extremely disorganized myself when it comes to code snippets. Must admit I use the search feature in Windows ALOT hehehe.
If you do decide to code your own snippet organizer for PB I KNOW there are lots of people who would want one. Heck, I'd even pay for it if it had syntax highlighting

Ok, let's roll..
http://www.liquidbuzz.com/forums/
- np
Posted: Sun Apr 03, 2005 3:14 pm
by Sparkie
Thanks NP
I signed up but then I got a window which said there was some sort of
email error. I am registered but I cannot log in.

Posted: Sun Apr 03, 2005 3:35 pm
by NoahPhense
Sparkie wrote:Thanks NP
I signed up but then I got a window which said there was some sort of
email error. I am registered but I cannot log in.

ok try again.. i forgot to update my email password in the forums.. for the admin account ..
- np