Sunday, 15 September 2013

c# - Relationship of all windows handle in a specifc programs -



c# - Relationship of all windows handle in a specifc programs -

in c#, want active windows handle of specific program.

for example, want outlook client , outlook opened mail service windows. there 2/3/etc mail service windows opened. can not utilize active window title sort of relationship, because different.

i can utilize enumwindows, iswindowvisible list of opened windows. there relationship between kid windows or grouping of windows (i.e windows related outlook, windows related skype, etc)?

thanks.

you need utilize winapi in case. first, every window associated owner process - utilize getwindowthreadprocessid. second, windows have parent/child relations - utilize enumchildwindows , getparent.

c# winapi

No comments:

Post a Comment