WB3D ScrollBar

Blitz3D Forums/Blitz3D Userlibs/WB3D ScrollBar

Nack(Posted 2008) [#1]
How do I add a scrollbar to a window? Just a normal scrollbar, I can't see to see it in the documentation. Any example on how to do this is appreciatedd!


Kev(Posted 2008) [#2]
First up i decided to not add support of scrollbars, the reason for this was the way winblitz3d works with blitz3d. wb3d does not add scrollbar events however it would be possable to hack the event using a subclass and blitz3d hook. if you need more info i can point you in the correct direction, note though you would need to do this using a .dll.

For what ever reason you want scrollbars on your windows, to add a horizontal scroll bar add the WS_HSCROLL flag to the style when creating the window. for vertical scroll bars add WS_VSCROLL.

kev


Nack(Posted 2008) [#3]
Thanks kev,
I tried the WS_HSCROLL and VSCROLL, but as you said, it doesn't capture the scrollbar events. I don't mind doing this with additional DLL, how would I go about into using subclass and hook?
Thanks a lot.

Nack


Kev(Posted 2008) [#4]
Nack, I will contact you by email a.s.a.p

Kev


Nack(Posted 2008) [#5]
oh thanks!
Nack


Kev(Posted 2008) [#6]
I sent you mail Nack

kev