[Qt] Caret problems

Павел Ишенин webpirat at mail.ru
Tue Jul 10 17:29:33 CEST 2007


zeljko wrote:
> There's implementation of TCaret for qt2 in QWindows unit of JVCL (CLX part),
> and I think that it's maded by one pixmap (used for caret only) + timer.It's 
> written by Andreas Hausladen some years ago.
>
>   
Big thanks for hint.
>> But I have problems.
>>
>> When I am trying to draw on widget it becomes gray and all other
>> painting is dissapeared (maybe becase i do this on timer event and not
>> on paint event).
>>     
>
> definitelly, it must be painted inside paint event.
>   
That should be reason.

Thanks.

Best regards,
Paul Ishenin.



More information about the Qt mailing list