The MASM Forum Archive 2004 to 2012
Welcome, Guest. Please login or register.
October 16, 2019, 10:02:29 AM

Login with username, password and session length
Search:     Advanced search
128553 Posts in 15254 Topics by 684 Members
Latest Member: mottt
* Home Help Search Login Register
+  The MASM Forum Archive 2004 to 2012
|-+  General Forums
| |-+  The Campus
| | |-+  Animated Taskbar and tray icons
« previous next »
Pages: [1] 2 Print
Author Topic: Animated Taskbar and tray icons  (Read 8704 times)
Mihail
New Member
*
Posts: 12


Animated Taskbar and tray icons
« on: January 24, 2012, 04:05:03 PM »

Hi guys, I'm new to programming. problem in anything, I created a program with the aid of GUI in masm editor and uploaded to the resources of 25 icons, please help, how to animate them in the tray and taskbar. I apologize for my bad English (it's all Google is guilty, he translated)))
I will be very grateful for help=)

* project.zip (48.02 KB - downloaded 224 times.)
Logged
ragdog
Member
*****
Posts: 1008


Re: Animated Taskbar and tray icons
« Reply #1 on: January 24, 2012, 05:12:40 PM »

Logged
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #2 on: January 24, 2012, 05:22:38 PM »

i want animate this icons without  dial inet conection :D , easy  with invoke SetTimer  with 200 ms delay :D
Logged
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #3 on: January 24, 2012, 05:24:10 PM »

i have this project on Flat asembler, but i can't  convert syntax or disasemble exe >masm  Sad
Logged
ragdog
Member
*****
Posts: 1008


Re: Animated Taskbar and tray icons
« Reply #4 on: January 24, 2012, 06:35:16 PM »

Quote
i have this project on Flat asembler

 Roll Eyes your project.zip  say what other

\MASM32\BIN\Rc.exe /v rsrc.rc
\MASM32\BIN\Cvtres.exe /machine:ix86 rsrc.res

Code:
i want animate this icons without  dial inet conection :D , easy  with invoke SetTimer  with 200 ms delay :D

This is coding  BigGrin

Look in to source and you can found this part to create the Notify Icon,Load the icons and the Timer part for Blinking icons


Logged
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #5 on: January 24, 2012, 08:15:38 PM »

no , this project.zip  im created in masm )) but i have  working programm writed at fasm =)
Logged
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #6 on: January 25, 2012, 12:03:31 AM »

i can't find animation function with timer at this  post Sad
Logged
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #7 on: January 25, 2012, 12:20:34 AM »

this project in fasm   . . .

* fasmproj.zip (109.26 KB - downloaded 209 times.)
Logged
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #8 on: January 25, 2012, 02:19:23 AM »

so  . . . someone has ideas how to implement it on masm32 ?
Logged
Gunner
Member
*****
Gender: Male
Posts: 687

What the hell, why not.


Re: Animated Taskbar and tray icons
« Reply #9 on: January 25, 2012, 02:25:36 AM »

Uh, the same exact way you did it in FASM.  You have no code in your MASM zip.  Where is SetTimer, Shell_NotifyIcon and the rest of your FASM code?
Logged

~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #10 on: January 25, 2012, 02:38:45 AM »

I do not know how to implement this  in masm  . . .
Logged
dedndave
Member
*****
Posts: 12523


Re: Animated Taskbar and tray icons
« Reply #11 on: January 25, 2012, 02:46:42 AM »

should be pretty easy   Tongue
i will have a look at it, tomorrow
Logged
dedndave
Member
*****
Posts: 12523


Re: Animated Taskbar and tray icons
« Reply #12 on: January 25, 2012, 08:14:42 AM »

i started out by examining the icons
there are 25 icons in the project
however, only 10 are unique   Tongue
we can use icons 1 through 5 and 16 through 20 - only need 10
of course, we'll have to add a little code to select the right icon at the right time
but it will eliminate ~36 Kb from the resource section

eyes open:
1 = 6 = 11
2 = 7 = 12
3 = 8 = 13
4 = 9 = 14
5 = 10 = 15

eyes closed:
16 = 21
17 = 22 (22 has a flaw)
18 = 23
19 = 24
20 = 25

we could probably reduce it further by creating a single icon file with the 10 icons
we'll worry about that later
Logged
Mihail
New Member
*
Posts: 12


Re: Animated Taskbar and tray icons
« Reply #13 on: January 25, 2012, 12:48:07 PM »

size of project does not matter :)
Logged
dedndave
Member
*****
Posts: 12523


Re: Animated Taskbar and tray icons
« Reply #14 on: January 25, 2012, 02:08:04 PM »

it's ok - it's a matter of efficiency   BigGrin
Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP The MASM Forum Archive 2004 to 2012 | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!