• Advertisement
Sign in to follow this  

GDI+ - small fade out for an element

This topic is 1325 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to use GDI+ to create a small text editor and I'd like the caret to blink in and out with a small transparency in the middle (i.e. from a complete visible caret | to an invisible one passing through a semi-transparent one)

 

Anyway I don't know how to "time" things in GDI+. How can I achieve such an effect? I think there's no guarantee of a timed response when invoking InvalidateRect or the like

Share this post


Link to post
Share on other sites
Advertisement

That's probably the best thing to do and now I feel stupid for not having thought of it in the first place.. thanks tonemgub! It's really been a while since I used win32 stuff..

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement