Getting handles of other forms

  • Thread starter Thread starter Clegg
  • Start date Start date
C

Clegg

Hello All,

I am writing an app that needs to get the handles of
other open windows my app does not own. We used to do this
with NextWindow() or EnumWindowProc() in C++ but C#
doesn't seem to have these ;(

Does anyone know how to obtain the handles of all the
open windows using C#?


-Clegg
 
You can still use those lovely C++ functions in your C# app. Look on
the web for tutorials on using DllImport.

I'd write more, but I gotta jet now.
 
Back
Top