Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.powerbasic > #5 > unrolled thread

GRAPHIC WINDOW

Started by"Olav" <ola.b@nowhere.now>
First post2011-06-17 16:13 +0200
Last post2011-06-24 13:23 -0500
Articles 2 — 2 participants

Back to article view | Back to comp.lang.basic.powerbasic


Contents

  GRAPHIC WINDOW "Olav" <ola.b@nowhere.now> - 2011-06-17 16:13 +0200
    Re: GRAPHIC WINDOW John H. Guillory <johng@netcommander.com> - 2011-06-24 13:23 -0500

#5 — GRAPHIC WINDOW

From"Olav" <ola.b@nowhere.now>
Date2011-06-17 16:13 +0200
SubjectGRAPHIC WINDOW
Message-ID<4dfb6123$1@proxy.mimer.no>
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.
--

[toc] | [next] | [standalone]


#6

FromJohn H. Guillory <johng@netcommander.com>
Date2011-06-24 13:23 -0500
Message-ID<89l907tc7r3o2tkuufm2qmfga831nfi7vr@4ax.com>
In reply to#5
On Fri, 17 Jun 2011 16:13:46 +0200, "Olav" <ola.b@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....

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.basic.powerbasic


csiph-web