notifyicon problem

bzbiz

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

i've 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 don't work, nothing appen nor with .click . Simply the event is not rised.

Why?

What i've missing?

Thankz in advance

BiZ
 
Thanks again Mutant (i've 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 isn't 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 i've 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