Arrange windows using VB6 - External Application - TechRepublic
Question
June 13, 2010 at 09:46 AM
sankulpune

Arrange windows using VB6 – External Application

by sankulpune . Updated 16 years ago

I’m programming an external app using VB6. The window menu of this app
contains only two options – Cascade & TileVerical (there is no tile
horizantal). This functionality is not exposed in the API of the app.
What I can get is the hWnd of the application window.

What I want to do is to arrange the multiple documents windows in that
application – TileVertical / Cascade.

I believe I will have to us WinAPI.

I have searched for appropriate WINapi functions to perform this task.
And I’m getting more and more confused. Especially I don’t understand
the parameters.

Can somebody guide me and tell me the WinAPI functions I should use,
and what values of parameters should I pass to those functions.

Just to remind you, I have only hWnd of the main window of my external
application.

By the way, is there any resource that explains what the WinAPI
function parameters mean?

This discussion is locked

All Comments