Discussion:
GRAPHIC WINDOW
(too old to reply)
Olav
2011-06-17 14:13:46 UTC
Permalink
Raw Message
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
2011-06-24 18:23:18 UTC
Permalink
Raw Message
Post by Olav
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....

Loading...