且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将图片/图像添加到工具提示-Windows窗体(Visual Basic 2010)

更新时间:2023-12-06 16:15:10

没有简单的方法可以执行此操作,因为默认的工具提示仅是文本.您必须创建一个自定义控件来处理此问题.
此CP文章可能是您的一个很好的起点:工具提示带有标题,多行内容和图像 [ ^ ]
There is no simple way to do this because default tooltips are text only. You''d have to create a custom control to handle this.
This CP article may be a good starting point for you: A ToolTip with Title, Multiline Contents, and Image[^]