programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: how to turn cursor on/off

From: Bee <200309_at_scshop.com>
Date: Thu, 31 May 2007 09:43:39 -0700

On May 30, 2007, at 5:25 AM, Rick VanNorman wrote:
> Here, I'm going to assume that you really meant the typing cursor,
> which is called the "caret". To turn it on and off, you need the
> handle of the window to which it belongs.
>
> In SwiftForth, the actual window you type in is contained in a
> couple of layers of other windows. The handle of that window is
> held in PHANDLE (and don't ask me why it is called PHANDLE, I can't
> remember!).
>
> PHANDLE ShowCaret DROP \ show the caret
> PHANDLE HideCaret DROP \ hide the caret

Thank you, Rick, yes your assumption is correct and it does turn off
the... caret.

But for EACH HideCaret called, the caret will NOT return until an
EQUAL number of ShowCaret are called.

Is there a way to find how deep caret is?
Or to force on or off?

--
Bill Muench
Santa Cruz, California
----------------------------------------------------------------------
sftalk_at_forth.com      The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users.  For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu May 31 2007 - 09:44:24 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:42 PST