View Full Version : Count no. of windows opened
bharatdhalla
05-22-2008, 04:02 PM
How can i count no. of windows opened in my system in any programming language.
If anyone knows please give the response, it's very urgent for me.
Thanks in advance.
chump2877
05-23-2008, 12:02 AM
Is this for a "Windows" application or a "Web" application? Are you counting only browser windows, or all windows open in the client? If counting all windows open in the client, what OS are you using?
bharatdhalla
05-23-2008, 08:27 AM
Thanks for your response.
This is a Windows application and need to count browser windows, but if you can send code to count all windows, i think, i will able to filter for browser windows.
I am using WindowsXP.
Thanks
chump2877
05-23-2008, 02:45 PM
A way to do this with C#:
http://msdn.microsoft.com/en-us/library/ms682615(VS.85).aspx
http://pinvoke.net/default.aspx/user32.EnumDesktopWindows
bharatdhalla
06-04-2008, 10:13 AM
Thanks.
I have read these tutorials, they are good to know the caption & titles of opened windows but i can't able to get reference of those windows.
If you have any idea to get reference of opened browsers, please send me solution.
Thanks
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.