I am new in C#, i've got some problem to capture any windows dialog show in my server. I need to know the message (caption and title) from windows dialog so i can write to my application log.
I know that i must find #32770 class windows, but i do not know how to enumwindows. In delphi 7, the code should use some functions like:
- Enumwindows
- EnumProcess
- Enumchildwindows
- Enumchildwindowsproc
- Getwindowthreadprocessid
- GetClassName
- Getwindowtext
Is there any solution for this ?