Blinking Cursor
Posted: Tue Apr 28, 2009 11:05 am
Hi,
Quick question. I am working on a GUI and I would like (but not necessary) to provide the end-user with some sort of ACK that they have summoned the focus of an input area. I think the best way is to use a blinking cursor. I have not designed a multi-tasking environment and I am at a loss for ideals on how to implement this effect without it. I find it a bit overboard to implement multi-tasking to be used solely for a blinking cursor effect, so is there an alternative way to do it in a mono-tasking environment without locking up the rest of the code using a loop? I thought about using the PIT timer, but that thing is so unpredictable. On some systems it may run quicker/slower than others, so I would like to stay away from that unless there is a way to make it a constant value on any system. Thanks
Quick question. I am working on a GUI and I would like (but not necessary) to provide the end-user with some sort of ACK that they have summoned the focus of an input area. I think the best way is to use a blinking cursor. I have not designed a multi-tasking environment and I am at a loss for ideals on how to implement this effect without it. I find it a bit overboard to implement multi-tasking to be used solely for a blinking cursor effect, so is there an alternative way to do it in a mono-tasking environment without locking up the rest of the code using a loop? I thought about using the PIT timer, but that thing is so unpredictable. On some systems it may run quicker/slower than others, so I would like to stay away from that unless there is a way to make it a constant value on any system. Thanks