hi,
i want to get the part of a text where i click (where the mouse
positon is) as it's done in glossary program "babylon". this text can
be any part of a name of an icon,a window title,edit,static, etc. n
thanks for now.
hi,
i want to get the part of a text where i click (where the mouse
positon is) as it's done in glossary program "babylon". this text can
be any part of a name of an icon,a window title,edit,static, etc. n
thanks for now.
Sounds tricky.
I guess you could use GetCursorPos(), and then use FindWindowEx() or similar, and find all the active windowhandles.
You then could check if the mousecoords are within any of the windows.
Just my suggestion, I've never tried anything like that..
This sounds like it would fall under the subject of Hit-Testing. I think if you do some searches using that term you will find what you are looking for.