The SBAR library was created to help exploit the capabilities of the standard status bar control.
SBAR Library
Key features:
- No need to change the default GUI. The status bar is accessed via the control's handle so multiple status bars can be updated without changing the default GUI.
- Additional part size options. The status bar part size can also be set by percentage (Ex: 25%), by fraction (Ex: 1/3), and by whatever space is left (Ex: -1). In addition, these part sizes can easily be recalculated and reset when the window is resized.
- Tooltips. Set tooltips for any of the status bar parts.
- Add-ons. Additional functions for the library to create and manage a progress bar and an animation control.
- "How To" Examples. Additional examples to show how to add standard controls (Ex: Buttons) to the status bar.
The pertinent files are as follows:
- Project: SBAR.zip (Includes the SBAR library and example scripts)
- Documentation: SBAR Library
This library is designed to work on all versions of AutoHotkey v1.1+: ANSI, Unicode, and Unicode x64.
Issues/Considerations
A few considerations:
- Preview. This version of the project has been marked as Preview because it's the first release but more importantly, because it has never been tested on anything other Windows 7. If you experience any problems, please let me know.
- Examples. This project includes a large number of examples. If any of the examples don't work as expected, please let me know. I will try to correct the problem.
- Other Issues/Considerations. See the "Issues and Considerations" section in the library documentation for a complete list.
- Status Bars (msdn)
https://msdn.microsoft.com/en-us/librar ... s.85).aspx