Results 1 to 2 of 2

Thread: Maximize from the system tray

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Ruinen, Drente, Netherlands
    Posts
    192
    My (shelled) program appears on the system tray, so I have to click on it to show it on the desktop. (the shelled program is alsdo an compiled VB-program (exe). I like to see the program direct on the desktop. How can I do that ?

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Location
    LewZer-LanD
    Posts
    120

    Talking

    Ok, i would say the ghetto way to do it is to have the program save a key in the registry

    Code:
    SaveSetting "myapp","commands","maximize", True
    then have the other program with a timer monitor that key

    Code:
    If GetSetting("myapp", "commands", "maximize", False) = True Then
    SaveSetting "myapp","commands","maximize", False
    Me.Windowstate = vbMaximized
    End If
    but like i said.. this is a very very ghetto way of doing it.
    Kid A

    18 Year Old Programmer
    Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
    [vbcode]
    'back in the day vb6 code
    Private Sub My_Life()
    If Hour(Now) > 3 And Hour(Now) < 13 Then
    Status = "Sleeping"
    Else
    Status = "Computing"
    End If
    End Sub
    [/vbcode]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width