Jump to content

  • Log In with Google      Sign In   
  • Create Account

GDI+ - small fade out for an element


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1   Members   

112
Like
0Likes
Like

Posted 04 September 2014 - 01:20 AM

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



#2 slalrbalr   Banned   

2006
Like
1Likes
Like

Posted 04 September 2014 - 01:52 AM

SetTimer



#3   Members   

112
Like
0Likes
Like

Posted 04 September 2014 - 01:55 AM

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..






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.