Solved

Getting external window Locations

Posted on 1998-08-10
3
174 Views
Last Modified: 2012-05-04
I want to make an application similar to the show desktop in IE4.  To do this I need to know

1) how to get the location of every window that is visible on screen.

2) How to minimize and restore these windows.
0
Comment
Question by:sacrouch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:cymbolic
ID: 1468418
There is a way to do this using the Win32 API and windows messaging.  A sample project is available on the CD ROM from Daniel Appleman's "Visual Basic 5.0 Programmer's Guide to the Win 32 API'

The sample project proceeds through the use of the EnumWindows API and the SendMessage API calls.    You would be well advised to get the book.  It has substantial additional sample code, as well as the complete text on CD ROM. Unlike most rehashes of help systems, this book is more than worth it's cost.  
0
 
LVL 9

Accepted Solution

by:
cymbolic earned 200 total points
ID: 1468419
and you can get code samples at:
http://www.mvps.org/vbnet/
0
 

Author Comment

by:sacrouch
ID: 1468420
Had to scour the site to find the code, but it was exactly what I was after, and it gave me a couple of new ideas.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question