How to Control the Placement of Desktop Windows (113702)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q113702 SUMMARY
There are situations where you'd like your program to have control over
windows that do not belong to the program itself. For example, when a
Visual Basic program performs OLE automation with Microsoft Word for
Windows, you might want to place the Word window next to the current
position of the program's window -- so that the two windows are tiled side
by side.
This article demonstrates how to use the Windows API SetWindowPlacement
function in a tiling algorithm.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | KB113702 |
---|
|