Win32Lib: Blinking Text Cursor?
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Jan 13, 2000
- 455 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