This is PSUEDO code:
Icon.Text should be Icon.ContextMenu etc.
Icon.Click (not shown above) toggle's the icon image.
I want to have an app running in the background and toggle it's
on/off status by clicking the NotifyIcon.
(Don't we all)
I've googled and looked into this for the past 2 weeks but
can't get a compiled dll to work :sign0137:
Anyone :sign0085:
B4X:
Imports System.some.stuff.here
Namespace MyNotify
Public Class MyNotify
Implements IDisposable
private withevents noti as System.Windows.Forms.NotifyIcon
Public Sub New()
End Sub
Public Property Visible() as Boolean
Get
return noti.Visible
End Get
Set
noti.Visible = value
End Set
End Property
Public Property Text() As String
Get
Return noti.Text
End Get
Set
noti.Text = Value
End Set
End Property
Public ReadOnly Property About() As String
Get
return "By Taximania"
End Get
End Property
Public Property Icon() As String
Get
return noti.IconPath
End Get
Set
noti.IconPath = Value
End Set
End Property
Public ReadOnly Property DllVer() As String
Get
return "Ver 1.00"
End Get
End Property
Public Sub Dispose() Implements System.IDisposable.Dispose
If Not noti Is Nothing Then
noti.Dispose()
End If
End Sub
End Class
End Namespace
Icon.Text should be Icon.ContextMenu etc.
Icon.Click (not shown above) toggle's the icon image.
I want to have an app running in the background and toggle it's
on/off status by clicking the NotifyIcon.
(Don't we all)
I've googled and looked into this for the past 2 weeks but
can't get a compiled dll to work :sign0137:
Anyone :sign0085: