Move and Resize Controls at Runtime Like the VB IDE.
Version Compatibility: Visual Basic 6, Visual Basic 5
I added a snap-to-grid feature. It also displays the grid(Like VB IDE does). The only drawback is that it won't display picture box in the container background. Also, since the module requires windowed controls to work, it will not handle labels and shape control. However, you can still use them by putting them in a picturebox or you can use CreateWindowEx to create a static control (similar to labels).
Note: Code updated by author, 07/11/02.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.