我如何...使用此代码 [英] How do i...work this code

查看:89
本文介绍了我如何...使用此代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是代码不适用于我的,为什么?注意:iam在线搜索但是没有找到任何关于解决问题的事情...再次在代码下有什么问题...谢谢...



我尝试过:



this is code don't work with my ,why?note : iam search online but don't find any thing about solve problem ...again what is problem with this under code...thank you...

What I have tried:

Private Sub Form_Click()
NotifyIconCtrl1.Enabled = True
NotifyIconCtrl1.Visible = True
NotifyIconCtrl1.BalloonText = "rrr"
NotifyIconCtrl1.BalloonTitle = "eee"
NotifyIconCtrl1.BalloonIcon = Info

NotifyIconCtrl1.ShowBalloon

End Sub

Private Sub Form_Load()
Set NotifyIconCtrl1.Icon = Image1.Picture

End Sub

推荐答案

您必须放置一个 NotifyIcon 控件您的表单首先在Designer中。

请参阅此示例:用于任务栏通知的Visual Basic NotifyIcon [ ^ ]
You have to place a NotifyIcon control on your Form first in the Designer.
See this example: Visual Basic NotifyIcon for Taskbar Notification[^]


这篇关于我如何...使用此代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆