开发者

C# Windows Forms Animated Emoticons

So, i have tossed around a few ideas, and would like to add animated emoticons to my chat app. Currently, in AutoIT, i use an HTML page to display those when a user clicks on a static image. That, obviously, isn't ideal.

Is there a way to display all of my animated GIF's (emoticons) either via an ImageList and still have them animated say inside of a listview? ComboBox?

What wou开发者_JS百科ld be the best way to do emoticons inside of Windows Forms (displaying)?


I think you might want to turn to WPF rather than forms: How do I get an animated gif to work in WPF?

(following comments I am adding this link to the answer as well)

If you want to use WPF in a forms enviroment, use the ElementHost tag: http://msdn.microsoft.com/en-us/library/system.windows.forms.integration.elementhost%28v=VS.90%29.aspx?appId=Dev10IDEF1&l=EN-US&k=k%28SYSTEM.WINDOWS.FORMS.INTEGRATION.CHILDCHANGEDEVENTARGS%29;k%28TargetFrameworkMoniker-%22.NETFRAMEWORK&k=VERSION=V3.5%22%29;k%28DevLang-CSHARP%29&rd=true

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜