473,385 Members | 1,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Notified when other top-level windows open

Is it possible to get notified in my C# application when a top-level
window is opened at another application? By top-level window, I mean
main application windows, dialog boxes, pop up windows, the sliding
notification window of Windows Live Messenger and so on. I need to get
window handles for them. I think I might be able to do it by using
some Win32 API, am I right? But I have no idea yet. Please let me know
any helpful APIs available. Thank you.
Jan 27 '08 #1
1 1703
Sin Jeong-hun,

You might want to look into create a windows message hook for the
system. You should be able to intercept the WM_CREATE windows message and
work from there.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sin Jeong-hun" <ty*******@gmail.comwrote in message
news:4a**********************************@i7g2000p rf.googlegroups.com...
Is it possible to get notified in my C# application when a top-level
window is opened at another application? By top-level window, I mean
main application windows, dialog boxes, pop up windows, the sliding
notification window of Windows Live Messenger and so on. I need to get
window handles for them. I think I might be able to do it by using
some Win32 API, am I right? But I have no idea yet. Please let me know
any helpful APIs available. Thank you.

Jan 28 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Carl Gilbert | last post by:
Hi I am currently writing a site that utilises tables. I have one page that links to a second page. The only problem is that when I link to the second page, the table loads up with a...
11
by: David Given | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Say I have a piece of Javascript that transforms the HTML on a page. (In order to work around CSS bugs.) I could invoke this from the BODY onload...
3
by: roger beniot | last post by:
I would like to figure out how to detect an IP address change for an XP/Win2K3 machine that is leasing an IP via DHCP (and do it in C#)... Is there any event that indicates an IP address...
1
by: Jim | last post by:
I have a class that inherits from the DataGrid class. I want to know when the datasource of my datagrid has changed, but want to execute a function within my extended datagrid class. For...
6
by: sylcheung | last post by:
Hi, How can I be notified when the document load is complet in JavaScript? I am referring to the whold document load is complete, mean all images/external files/frame/iframes have been loaded. ...
1
by: stu6188 | last post by:
I want to create a program that when a file or folder is opened, i will be emailed, or something simular. its a security issue. i keep geing my flash memory device stolen and i need to know who it...
1
by: Khurram | last post by:
Is there some way in dotNet to get notified when my modem gets connected? Do I have to set up a hook using win32 api or can this be handled by the framework? If thru win32, what api function should...
2
by: Sin Jeong-hun | last post by:
My application displays today's date on the form like; Friday August 4, 2006 This information is determined at the form's constructor. But what about the user has kept the form shown so long...
2
by: active | last post by:
I think I saw something once that made me think a program could get notified if a file changes. I'm not sure if the notification occurs if anything in the file system changes or if it is more...
1
by: Joseph Geretz | last post by:
If an HttpHandler is implementing IsReusable = true, is the instance notitifed when it is actually released to the pool? Of course, each instance is released to the pool when ProcessRequest...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.