Handle Property
Description
Used to store the hWnd/Handle of a custom control to display in the StatusBarPane.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property Handle() As Integer
Remarks
The Handle property allows custom controls to be displayed in a StatusBarPane. The hWnd/Handle of the control must be assigned to the Handle property.
The picture below displays a progress bar and edit control in two separate panes.

Example
Pane Handle Sample (Visual Basic)
This sample illustrates how to add a custom control to a StatusBarPane. This sample assumes there is a ProgressBar object named ProgressBar.
Set Pane = StatusBar.AddPane(ID_INDICATOR_PROGRESS)
Pane.Handle = ProgressBar.hwnd
ProgressBar.Value = 50
Pane.Width = 100
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.