WPF active windows

  • Thread starter Thread starter imbirek8
  • Start date Start date
I

imbirek8

Hi,

I would like to write aplication in WPF, and I would like to list all opened
windows in the system, get the headers of the windows and get the active
window. How to do it ?
Is any event, that I can handle, with tell me, that active window is changed
?

Thanks for help
 
imbirek8 said:
I would like to write aplication in WPF, and I would like to list all
opened windows in the system, get the headers of the windows and get the
active window. How to do it ?
Is any event, that I can handle, with tell me, that active window is
changed ?

You can enumerate the windows of an application using the property named
Windows of an Application instance object:
http://msdn.microsoft.com/en-us/library/system.windows.application.windows.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

WinForm, WPF and WEB 2
C# and WPF 1
WPF and some elements 2
WPF modaless dialog on Winforms. 4
Win forms or WPF 3
WPF application on Windows XP - first start takes forever 2
DoEvents for wpf? 2
C# and WPF 2

Back
Top