0 Replies - 2425 Views - Last Post: 25 December 2008 - 12:14 PM Rate Topic: -----

#1 jaysnanavati   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 40
  • Joined: 25-December 08

How to minimize to system tray and more

Posted 25 December 2008 - 12:14 PM

Hi I have got soem basic knowledge of visual basic .net and wpf microsoft expression blend. I am familiar with the environment of both the programs and have started to programm in them. However I need help on this topic as it is out of my knowledge.

I would firstly like my program to open in system tray, then when I hit the "x" button on it I would like it to minimize in the system try, and when I roll over the icon in the system tray I would like the program window to hover just above the icon , if you know what I mean. For me this is very challanging becuase I think there is some x-y-z co-ordinate coding involved or not I dont know. Please if someone could help me out here.

I would also like to learn the keydown code becuase following some other websites the code

Code:

Public Class Form1

Private Sub Form1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.A Then
MsgBox("A is pressed")
End If
End Sub
End Class

dosent work at all.!!

please if some one can help me aswell on this.

Thank you in advance, any help would be extremely appreciated

Is This A Good Question/Topic? 0
  • +

Page 1 of 1