Solved

Get only windows, that can receive text

Posted on 2009-07-16
4
157 Views
Last Modified: 2013-12-17
Hello, how can I get a list of only those open windows, that can receive text input? So, notepad will be included in the list, MS Word as well, etc., but no other ones.
0
Comment
Question by:kutiJack
  • 2
  • 2
4 Comments
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 24871900
I don't think there is a universal way of determining this with such a wide open specification of "can receive text input".

For instance, an app could be using low level hooks or DirectX to get user input...all WITHOUT any controls on the main window that receive focus from the operating system.

Or an app could "receive" input via named pipes, custom registered windows messages or even sockets.

Could you narrow down your requirements further?...
0
 

Author Comment

by:kutiJack
ID: 24872454
Well, I would like to have an application, that would collect all text and images copied to clipboard and then, it would provide list of all open windows, that are capable to receive text or image and after selecting the desired one, it would activate the window and paste selected pieces of text and selected images to it. I know, I can iterate all open windows, but this makes the list too long and uncomfortable.
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 250 total points
ID: 24872615
Would it be sufficient to list just the windows that appear in the taskbar?
http://www.experts-exchange.com/Programming/Languages/.NET/Q_21739204.html
0
 

Author Comment

by:kutiJack
ID: 24872849
Yes, this should suffice, thank you.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now