notifyicon problem

bzbiz

Active member
Joined
Mar 17, 2003
Messages
34
Location
Emilia - Italy
Hi everybody,

ive got a problem here:

Private Sub NotifyIcon1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles NotifyIcon1.MouseDown

NotifyIcon1.Visible = False

End Sub

ok dont work, nothing appen nor with .click . Simply the event is not rised.

Why?

What ive missing?

Thankz in advance

BiZ
 
Thanks again Mutant (ive posted a lot today :p )

i have set the .visible = false in design mode

after that

Private Sub notify()
NotifyIcon1.Visible = True
End Sub

i call this sub when some events appen, different time in the apps.

Note that i use vb.net enterprise architet in ITALIAN.
I hope that this isnt a bug!

ByeZ
BiZ
 
That works too :) I dont know what is the problem you got there now cause i got to leave now. When I come back ill try to look at it more.
 
solved!

the problem was that ive put the icon in a child form.
If i put it in the parent form all works fine!

Thanks u 4 the help!

ByeZ
By
BiZ
 
Back
Top