Special

Special Print Closeout!

We're clearing out the remainder of our print issues at fire sale prices -- as much as 75% off! Quantities are extremely limited and only available while supplies last. Hurry to take advantage of this one-time offer.

RBD Magazines

Once these printed back issues are gone, they are gone!

Article Preview


Buy Now

Print:
PDF:

Intel corner

A Statusbar for your Windows application

How to add a statusbar to a window.

Issue: 2.5 (May/June 2004)
Author: Christian Schmitz
Author Bio: Christian Schmitz is the creator of the Monkeybread Software REALbasic Plugins.
Article Description: No description available.
Article Length (in bytes): 10,665
Starting Page Number: 42
RBD Number: 2521
Resource File(s):

Download Icon 2521.sit Updated: Friday, May 14, 2004 at 10:01 AM

Related Link(s): None
Known Limitations: None

Excerpt of article text...

How do we add a statusbar to a window?

This article will explain how to make a nice class for a statusbar in REALbasic. Inside the class, all the declares will handle the low level functions calls and give you, as the user of this class, a nice interface to quickly implement a statusbar inside any REALbasic window.

Just launch REALbasic with a new project and create a new class. Call it "Statusbar". The first part of the article will add all the methods to this class and the second part will show how to use it.

Before we start adding methods, just create a new property, "handle as integer", inside the class. This property will store the ID of the statusbar which we get from the operating system.

Adding methods for the statusbar class

Initialization

On application launch, the Common Dialog DLL must be initialized so it can load all needed resources for the statusbar. It is no problem to call the initialization method more than once, but it is needed the first time you use the statusbar control.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com