i am trying to make a program that in the even that a message is received when the program does not have focus a message box will be displayed, however, using:
if me.focused = false then
TrayIcon.BalloonTipTitle = "New Message From " & array(0)
TrayIcon.BalloonTipText = array(1)
TrayIcon.ShowBalloonTip(5000)
end if
always return the message even if the form is not focused. i also tried this under message received:
messagebox.show(me.focused)
and it always receives the value false
can someone please tell me what i am doing wrong. and is there another command that i am supposed to be using?
Thank
~Matt