The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: shankle on December 27, 2011, 08:36:30 PM

Title: higlighting a word on a line
Post by: shankle on December 27, 2011, 08:36:30 PM
If this gets posted twice I will try to erase the duplicate.

I need to highlight a word on a line before I send it to the screen.
Therefor it is NOT possible to  use the mouse to get the X/Y coords.
Clientoscreen. Screentoclient, Getclientrect and GetCursorpos are of no value.

The line is always at the top of the screen so the Y value is always 0 or 0bh.
I want the X value to float to the word I need to highlight.
I am able with bitblt to highlight the entire line.
A few pointers would be most appreciated.