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
 
Back
Top