Results 1 to 10 of 10

Thread: Icon ???

  1. #1

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Hi,

    I have a few questions...

    1) Is It true that The only Picture in the tray is Ico Format ?
    2) I Would like to change my icon in the tray to active_icon - somthing like numbers - 1 thru 255 - is it posiable to display a numbers in the tray ??


    Thanks



  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    1. Yes, you can only have icons in the tray
    2. Yes you can animate your icon, you can draw numbers on the icon and update it.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249

    Hi,

    How could i put numbers in an icon?? such as "241"? how could i display the numbers (max 3 char) ? "9" or "75" or "212"??

    Thanks

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    1. Make a imagelist control
    2. Make a picturebox with dimensions 32*32, you could use the one you get your icon events to, to spare resources
    3. Draw the numbers on the picturebox
    4. Put the picture into the imagelist and extract the icon of it and set it into the tray
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    kedaman, - thanks for the replys......

    Can u tell me where can i find a Gouge...or somthing else that can display a nice grhapic picture of a numbers???

    Somthing like ProgressBar Or Compas Or Car Watch? U know...
    (What i looking for is somthing nice to display insted of numbers - thats all)

    Best Regards

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Actually i don't know where to find but i've done a pie chart for the tray icon, i could send you it if you post your email, also progress gauges are fairly easy to do on your own.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  7. #7

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Kedaman - r u "Listen" all the time??

    God Bless u

  8. #8
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Well, I get email notification, if thats what u mean, what did you find any or?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  9. #9

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Kedaman - I don't know what to do, I thing i am going to leave it asis (ugly - i know). I thnik that u have got somthing like drowing colorfull line in your CPU (or somthing) project? May be i will find some gauge or clock that can display numbers.

    Thanks And Best Regards

  10. #10
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Yes you can have that one, just know what scale youre using.
    Code:
    Line (x, 0)-(x, (1 - CPUUsage) * ScaleHeight), &HFF - n / maxval * &H100 + n / maxval * &H10000
    Well replace CPUUsage with a value that is scaled from 0 to 1, and use the line method & scaleheight on your picturebox.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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