by ztron (3 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (7 Votes)
This simple API call with less than 10 lines allows your users to resize your controls just like in the design mode. The sample code provided here demonstrates left and right resizing on a control. You can further enhance it to allow top bottom, top-right, top-left resizing, and etc. This code was originally from Fran Pregernik, Zagreb, Croatia. This is pretty cool!