completely forbid the scrollbars of editorgadget

Windows specific forum
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

completely forbid the scrollbars of editorgadget

Post 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. :evil:
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post 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
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Yeah, It works very properly.

I thank you very much ! You are the defnder of my night. :D
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

OMG.. sparkie rules.. how do you get those answers so quick..
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post 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 :mrgreen:
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post 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 :D
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post 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 :D
Oh there is no doubt that Sparkie is one of the best coders in here. He
always has good answers.

- np
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

@All - Thanks for the kind words. :oops:

I don't pretend to know everything when it comes to coding. In fact there is soooo much more for me to learn. :shock: 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. ;)
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post 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?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post 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. :P

I think it's time to either find an organizer, or create one myself. :wink:
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post 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.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post 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 ;)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post 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
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post 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. :(
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post 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
Post Reply