Results 1 to 6 of 6

Thread: animated systray icon

  1. #1

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274

    Question

    how can i make an animated system tray icon (like icq when it receives a message)? can anyone help, please!!!!

  2. #2
    Addicted Member Mih_Flyer's Avatar
    Join Date
    Mar 2000
    Location
    some place there
    Posts
    241
    if you know how to add a systray icon, then all you have to do is to add a timer and in the timer event add some code to change the icon every 1 or 2 seconds, i did not do it before but i would do it like this.

  3. #3

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    i know how to put the icon on the systray, but if i put the code in a timer, it gets very weird. first it unloads the icon and then reloads it, this makes the systray, bigger and smaller continously. i hope u know what i mean.

  4. #4
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116
    there is this hexadecimal number you cvan put in flag and it updates the icon......

    hope sumone here knows the number..........
    YC Sim
    Teenage Programmer
    UIN 37903254



  5. #5
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116
    got it
    use this

    Shell_NotifyIcon &H1, tTrayIcon

    it will update the trayicon specified in the handle of tTrayIcon.hwnd with the one specified in tTrayIcon, thus achieving the effect like ICQ does
    YC Sim
    Teenage Programmer
    UIN 37903254



  6. #6

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    i cant get this thing to work

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