|
-
Oct 26th, 2006, 06:54 PM
#1
WindowFromPoint problem?
Under the Index tab of the VB6 help there is an 'Edit' control where you type in your keywords to find.
Anyway, using Spy++ window finder tool I can find this 'Edit' window no probs. However, I wrote my own simple version using WindowFromPoint (standard job, just getting the point in the MouseUp event) but it doesn't find this Edit window - just the SysTabControl32 (which isn't even the parent of the edit box).
Having assumed the mistake was mine, I download JA's version but received the same results...
Is this a fault with WindowFromPoint? Is there a more reliable way of getting a the correct window? Is it just me...?
-
Oct 31st, 2006, 10:52 PM
#2
Fanatic Member
Re: WindowFromPoint problem?
Getting the window from the point returns the SysTabControl32 (a sibling of the Edit control) because the SysTabControl32 is on top of the Edit control in the Z-order.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|