First Window

I am finding all of the windows associated with a process. However, I would also like to find the parent window. So, for example, with Outlook you have your main window. If you open an e-mail you have a child window. So, how do I fin dout if im looking at a child or a parent?

I cant use the title text because this need sto work with any application. So the title text will change.

Comments

  • Why not call GetParent on the window, if the return value is NULL, this is a main window.

    : I am finding all of the windows associated with a process. However, I would also like to find the parent window. So, for example, with Outlook you have your main window. If you open an e-mail you have a child window. So, how do I fin dout if im looking at a child or a parent?
    :
    : I cant use the title text because this need sto work with any application. So the title text will change.
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion