VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

How to place a Progress Bar in A Status Bar Panel (VB5) - should work with VB4(32 bit) and VB6.

Chris Eastwood  (2 Submissions)   Custom Controls/Forms/Menus   Visual Basic 5.0   Unknown Difficulty   Mon 22nd February 1999   Mon 8th February 2021

How to place a Progress Bar in A Status Bar Panel (VB5) - should work with VB4(32 bit) and VB6.

API Declarations


Module Declares for the StatProgressBar example

Chris Eastwood Feb. 1999

http://www.codeguru.com/vb



API Declarations

Public Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Public Declare Function SendMessageAny Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal msg As Long, ByVal wParam As Long, lParam As Any) As Long


API Types

RECT is used to get the size of the panel were inserting into

Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type


API Messages

Public Const WM_USER As Long = &H400
Public Const SB_GETRECT As Long = (WM_USER + 10)


Rate How to place a Progress Bar in A Status Bar Panel (VB5) - should work with VB4(32 bit) and VB6. (1(1 Vote))
How to place a Progress Bar in A Status Bar Panel (VB5) - should work with VB4(32 bit) and VB6..bas

How to place a Progress Bar in A Status Bar Panel (VB5) - should work with VB4(32 bit) and VB6. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters