News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

How do I make a flickering line ?

Started by gelatine1, July 02, 2014, 11:23:49 PM

Previous topic - Next topic

gelatine1

How should I make this line that's flickering in almost all text fields ? Should I keep track of the position and set some kind of timer that draws and removes this line ? How would I set this timer ?

Tedd

I'm going to translate this to "how do I get a flashing caret?" - I assume that's what you mean.

Start with CreateCaret and explore the related functions, specifically SetCaretPos and DestroyCaret.
Potato2

gelatine1

yes, thank you. Just what I need :)