I want to crearte a caret in a specific widget which has no inputbox? Could you help me?
At present, I created a class called QMyCaret subcalssed from QObject, drawed a line and then use a timer to control it to show or hide.
But I think it can't be the right solution, because there's a function called "CreateCaret" in the Win32 API.