ReBar (Internet Explorer – Like Toolbar) in VB

By | 2002-06-01

This is a class module that allows a “Rebar”, or an Internet Explorer style toolbar to be made. It subclasses the Rebar and can trigger events when the rebar is moved, resized, clicked, mouse moved, and a lot more. The rebar can hold any VB control, even UserControls. THIS IS NOT MY CODE! I am simply passing Ramon’s code, which can be found at www.zonecorp.com His code made this sample possible! You can e-mail Ramon at Ramon@Zonecorp.com

Original Author: Brian

Side Effects

The subclassing will crash VB if you try to stop the project without using the close button. In other words, if your project goes into break mode because of an error, VB will crash. This can be fixed by commenting out the “subclass me.hwnd” line in the Form_Load procedure. However, without this line your project won’t recieve events.

API Declarations

Are you kidding? This thing has more API calls that Bill Clinton has girlfriends 🙂

Attachments

FileUploadedSize
CODE_UPLOAD2801192000.zip9/3/2020 3:45:00 PM8880
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.