Results 1 to 6 of 6

Thread: Clock system tray pop up box on event (time change)

  1. #1
    Member
    Join Date
    Aug 12
    Posts
    40

    Clock system tray pop up box on event (time change)

    http://www.vbforums.com/showthread.p...em-tray-popup)

    Now I want what I've asked for in the thread title. The event would be for example the time changing to "12:00"

    Thanks a lot

  2. #2
    Member
    Join Date
    Aug 12
    Posts
    40

    Re: Clock system tray pop up box on event (time change)

    Another website after some Googling (http://www.xtremevbtalk.com/showthread.php?t=93500) told me that I can use a popupmenu?? I'm not sure how I go about that but I gave this a shot and it didn't work:

    Code:
    Sub PopupMenuVisible()
    If Time >= "12:00" Then PopupMenu.Visible = True
    If Time >= "12:00" Then PopupMenu.Caption = "It's the Afternoon!"
    End Sub
    I'm aware if that code *did* work, it'll be visible forever (as opposed to a set time of let's say 5 seconds), but I was going to deal with that when I got the first bit working.

    Thanks again,

    Max

  3. #3
    Member
    Join Date
    Aug 12
    Posts
    40

    Re: Clock system tray pop up box on event (time change)

    anyone?

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 02
    Location
    Bristol, UK
    Posts
    35,568

    Re: Clock system tray pop up box on event (time change)

    A PopupMenu is basically a right-click menu (like you get if you right-click on a web page, etc).

    The description of what you want is far from clear, but I don't think you want a PopupMenu. What I think you want is a window that "appears" (perhaps slide in to view) and stays there for a while... which you can do by creating (and moving) a Form.

  5. #5
    Frenzied Member
    Join Date
    Aug 11
    Location
    B.C., Canada
    Posts
    1,839

    Re: Clock system tray pop up box on event (time change)

    Create a form and move it to the bottm corner when its 12 and make it visible for acouple seconds then back to invisible?

  6. #6
    Member
    Join Date
    Aug 12
    Posts
    40

    Re: Clock system tray pop up box on event (time change)

    Sorry. What I'm asking for is a Tool tip box (?) but Max's suggestion seems a simple solution.

Posting Permissions

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