Creating Toolbars

Creating Toolbars

I’d like to create a floating window that has a small titlebar,like the VB toolbox window, for instance. In the VB FAQ,it says to see the sample program in MSGBLAST.EXE — Well,I have msgblast from, but it doesn’t havea sample program that gives me that small titlebar. Howcan I do it in VB 3.0 on Win 3.11?

The easiest way I can think of to fake this is to make a form with MaxButton, MinButton and ControlBox set to “False” and removing the Caption of the form (by setting the Caption property to “” or an empty string).Now you use a PictureBox to simulate the titlebar. Set the Align property to “1 – Align Top” and set the Height property to whatever size you think is correct. A good rule of thumb to try is about half its default Height. If you want any control buttons on there, you’ll have to place them and write the code yourself since all the automatic functions of the titlebar have been turned off. Usually the floating toolbars just have a “Close” button.You’ll want to check out the Microsoft Knowledge Base at this point. Look for article number Q114593, “How to Move a Form that Has No Titlebar or Caption”, for the API calls to use so that your user can drag the form around by its titlebar.Article number Q114594, “How to Create a Floating Toolbar in Visual Basic 3.0” will give you a good idea of how to go about make the thing float in the first place.

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of

kubernetes logging

Kubernetes Logging: What You Need to Know

Kubernetes from Google is one of the most popular open-source and free container management solutions made to make managing and deploying applications easier. It has a solid architecture that makes