G
Guest
Hello,
I have an icon in my system tray and I wish to call various functions
from withing the tray which involve the application been maximized. The
following event is on the system tray icon
Dim mouse As Cursor
Dim Myprojectdet As New frmProjectDetails
If SetupContextMenu(cmnuSysTray, "SystemTray",
Myprojectdet.ImgJobDetails) Then
cmnuSysTray.TrackPopup(New
System.Drawing.Point(mouse.Position.X, mouse.Position.Y))
End If
The context menu displays the correct menu options but how to I maximize my
main form FrmMain from the this event.
I have an icon in my system tray and I wish to call various functions
from withing the tray which involve the application been maximized. The
following event is on the system tray icon
Dim mouse As Cursor
Dim Myprojectdet As New frmProjectDetails
If SetupContextMenu(cmnuSysTray, "SystemTray",
Myprojectdet.ImgJobDetails) Then
cmnuSysTray.TrackPopup(New
System.Drawing.Point(mouse.Position.X, mouse.Position.Y))
End If
The context menu displays the correct menu options but how to I maximize my
main form FrmMain from the this event.