by Ivan Tellez (1 Submission)
Category: Custom Controls/Forms/Menus
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(5 Votes)

This is the most advanced container control in VBC, must see screenshot.
Did you love controls that don't have much "client-side" code...
Ok, this is a 0 line client-side code control, It´s a REAL container,
You just put controls inside and the contros do the dirty job.
Allows to put many controls in the panel, an use scrollbars to acces them
This panel suport Mouse Wheel, WITHOUT SUBCLASS, just uses the free time
to Peek Messages, so its IDE safe.
It has a lot of features, like:
-Use ScrollBarConstants (vbBoth, vbVertical, vbSBNone, vbHorizontal)
-Use ScrollBar sensibility
-Vertical and horizontal margin to ajust the contained controls
-Change the potion of the scrolls when a contained controls got focus
-Is aligneable
I got the idea from IsPanel, By DavidJ, but this is a complete rewrite, so
it uses diferent and more eficient programing techniques.
Assumes
To use XP theming, jut compile to iox.exe to use the iox.exe.manifest.
API DeclarationsFunction GetSystemMetrics Lib "user32"
Function GetCursorPos Lib "user32"
Function GetWindowRect Lib "user32"
Function PeekMessage Lib "user32"
Function WaitMessage Lib "user32"
Download IOX Container (21 KB)