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


Groups > comp.lang.basic.powerbasic > #6

Re: GRAPHIC WINDOW

From John H. Guillory <johng@netcommander.com>
Newsgroups comp.lang.basic.powerbasic
Subject Re: GRAPHIC WINDOW
Message-ID <89l907tc7r3o2tkuufm2qmfga831nfi7vr@4ax.com> (permalink)
References <4dfb6123$1@proxy.mimer.no>
Organization Forte Inc. http://www.forteinc.com/apn/
Date 2011-06-24 13:23 -0500

Show all headers | View raw


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....

Back to comp.lang.basic.powerbasic | Previous | NextPrevious in thread | Find similar


Thread

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

csiph-web