Find top level child window

June 25th, 2008 - 03:36 pm ET by CyberDwarf | Report spam
Hi

I have an app with a parent frame and need to find the child window which is
topmost (top of the z-order, I think).

I have tried using the EnumChildWindows() api, but this doesn't seem to give
me the child windows in the correct order (ie, top window first).

Any idea how I should be tackling this?

Suggestions gladly received...

Steve
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 Karl E. Peterson
June 25th, 2008 - 03:47 pm ET | Report spam
CyberDwarf wrote:
I have an app with a parent frame and need to find the child window which is
topmost (top of the z-order, I think).

I have tried using the EnumChildWindows() api, but this doesn't seem to give
me the child windows in the correct order (ie, top window first).

Any idea how I should be tackling this?



GetWindow: http://msdn.microsoft.com/en-us/library/ms633515(VS.85).aspx
.NET: It's About Trust!
http://vfred.mvps.org
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search