ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   API to MSGBOX in Excel all running applications in Windows? (https://www.excelbanter.com/excel-programming/388613-api-msgbox-excel-all-running-applications-windows.html)

[email protected]

API to MSGBOX in Excel all running applications in Windows?
 
I have a program I am trying to write but I am having some difficutly
figuring out how to get API to do the following...

Show me in multiple message boxes (MSGBOX) what windows are open (what
appears on the taskbar)...I have searched left and right for this one
but can't seem to find anything to works the way I would hope it
would. Any help is much appreciated!

Thank you!


NickHK

API to MSGBOX in Excel all running applications in Windows?
 
It depends if you really mean all open windows or only those shown in the
task bar. This articles tells you which windows appear in the Task Bar and
how to detect changes:
http://blogs.msdn.com/oldnewthing/ar.../29/46371.aspx

But I would guess you need something using EnumWindows and a call-back.

NickHK

wrote in message
oups.com...
I have a program I am trying to write but I am having some difficutly
figuring out how to get API to do the following...

Show me in multiple message boxes (MSGBOX) what windows are open (what
appears on the taskbar)...I have searched left and right for this one
but can't seem to find anything to works the way I would hope it
would. Any help is much appreciated!

Thank you!





All times are GMT +1. The time now is 04:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com