1. Win32Lib: Blinking Text Cursor?
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Jan 13, 2000
- 313 views
Hi all, Question: is there an "easy" way to provide a blinking TEXT CURSOR in a program? In an app I'm writing using Win32Lib, I let the user edit horiz. & vert. CENTERED text, & because it's centered, I put it directly into a window instead of a MLE box; so I made my own blinking cursor from a timer, & have been making little handlers for it for various key presses, until it dawned on me that maybe there was some kind of inherent cursor display/control within Euphoria or Win32Lib. (I've been defining screen display positions for text & cursor by using getTextExtent & getExtent(Window) for each line.) I looked at Pete Eberlein's "WEE" editor as a referent, but couldn't see how to use what he did. Any suggestions would be appreciated. Dan Moyer
2. Re: Win32Lib: Blinking Text Cursor?
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Jan 13, 2000
- 306 views
Dan Moyer wrote: > is there an "easy" way to provide a blinking > TEXT CURSOR in a program? The way that it's supposed to be done is with a 'caret'. The routines of interest are: CreateCaret GetCaretBlinkTime SetCaretBlinkTime DestroyCaret HideCaret ShowCaret SetCaretPos GetCaretPos Hope this helps! -- David Cuny
3. Re: Win32Lib: Blinking Text Cursor?
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Jan 13, 2000
- 319 views
David, Great! Thanks. Dan Moyer -----Original Message----- From: Cuny, David at DSS <David.Cuny at DSS.CA.GOV> >Dan Moyer wrote: > >> is there an "easy" way to provide a blinking >> TEXT CURSOR in a program? > >The way that it's supposed to be done is with a 'caret'. The routines of >interest are: > > CreateCaret > GetCaretBlinkTime > SetCaretBlinkTime > DestroyCaret > HideCaret > ShowCaret > SetCaretPos > GetCaretPos > >Hope this helps! > >-- David Cuny