Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GRAPHIC WINDOW

5 views
Skip to first unread message

Olav

unread,
Jun 17, 2011, 10:13:46 AM6/17/11
to
Is there a Win32 API to read one or more characters of text at POS(x,y)?
Text which have been printed to the window using GRAPHIC PRINT.
--


John H. Guillory

unread,
Jun 24, 2011, 2:23:18 PM6/24/11
to
On Fri, 17 Jun 2011 16:13:46 +0200, "Olav" <ol...@nowhere.now> wrote:

>Is there a Win32 API to read one or more characters of text at POS(x,y)?
>Text which have been printed to the window using GRAPHIC PRINT.

Usually when you'd want to do something like that, you'd basically
keep track of everything you write to the screen in a vector like
format, then when you need to know if a character is at that position,
you could I suppose check for any text writes anywhere on that line,
then go from where that text write started and figure up what
character would actually bge at that position. Now that I think of
it, a lot of work, but... Either that, or just write a set of
routines to create a virtual screen in the window, then write you some
routines to write to the virtual screen and update the screen on your
graphical window....

0 new messages