DrawDisabledText Property
Description
Gets/sets whether disabled text will be used to draw text when the pane's style is set to SBPS_Disabled.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property DrawDisabledText() As Boolean
Remarks
The DrawDisabledText property specifies whether disabled text will be used to draw "grayed-out" text in panes when the pane's style is set to SBPS_Disabled.
Examples
- StatusBar with the Caps Lock On, Scroll Lock On, and Num Lock On: Notice all text is displayed normally.

- StatusBar with DrawDisabledText = False: The Caps Lock Off, Scroll Lock Off, and Num Lock On. Notice the text for the Caps Lock and Scroll Lock are not displayed.

- StatusBar with DrawDisabledText = True: The Caps Lock Off, Scroll Lock Off, and Num Lock On. Notice the text for the Caps Lock and Scroll Lock are displayed as disabled text.

Note
To use the Caps Lock, Scroll Lock, or Num Lock panes, the ID of the pane must be:
- Caps Lock = 59137
- Num Lock = 59138
- Scroll Lock = 59139
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.