flat assembler
Message board for the users of flat assembler.

flat assembler > Projects and Ideas > Just clocks

Author
Thread Post new topic Reply to topic
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
Wrote clocks for educational purposes only. Just to study some APIs and Messages and other things. And just for fun. Reports are welcomed.

EDITED:
Added support of saving for some clock parameters.
Added <hide/show clocks in taskbar> option.

new versions available here.


Description: Study Sake...
Download
Filename: clock.zip
Filesize: 11.02 KB
Downloaded: 403 Time(s)


_________________
Any offers?


Last edited by asmfan on 19 Oct 2006, 19:46; edited 6 times in total
Post 06 Oct 2006, 21:29
View user's profile Send private message Reply with quote
asmgges



Joined: 17 Jun 2003
Posts: 87
Location: France
Hi asmfan Very Happy

Nice !
Good work Cool

Friendly...AsmGges
Post 07 Oct 2006, 07:30
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
your topmost doesn't work very well, and your app starts flashing (eg process activated i think) each second on task bar.
Post 07 Oct 2006, 07:33
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
errrrr... actually it should flash only when "About" is selected. Vid could you explain more about the bug, cuz i don't have such. I initialize all flags in data statically.
Post 07 Oct 2006, 19:34
View user's profile Send private message Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
minor bugfixes, but fixing in process... wate for your reports on problems with detailed explanation, cuz its hard to me to catch the bugs without your help.
New version in first post.

_________________
Any offers?
Post 09 Oct 2006, 21:40
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
i have no idea what more can i write about flashing - it just does it. winXP SP2.

window disappears after you move it few times. just try to move it several times
Post 10 Oct 2006, 07:01
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
Ok, i hope this one is finally correct. Test it please.

Fixed again, test it please!
Post 12 Oct 2006, 18:49
View user's profile Send private message Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
Now it saves its coordinates in .ini file. Reports are welcomed.
Post 15 Oct 2006, 18:52
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1046
Location: Michigan, USA
Works good now, I like it. Maybe you could add an option to hide the taskbar window button. There is an example of how to do this in the EXAMPLES folder called "usecom".
Post 16 Oct 2006, 15:42
View user's profile Send private message Reply with quote
dead_body



Joined: 21 Sep 2005
Posts: 188
Location: Ukraine,Kharkov
join to the opinion of madmatt.
good think, but it will be good to hide it from taskbar.
Post 16 Oct 2006, 16:50
View user's profile Send private message Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
Updated attach. Made option that madmatt and dead_body asked.
I tried 3 ways to cope with this problem - hiding a button in taskbar:
1) COM method, 2) invisible parent 3) WS_EX_TOOLWINDOW style-based
The first one, that come with the FASM package as an example doesn't work properly - when the button is hidden with COM call from taskbar and then window is deactivated and then activated again the button suddenly appears on its place... regardless COM any calls made previously.((
2) when the main window is child to its invisible or visible parent, the child's caption doesn't appear on the task bar at all((
3) if made correctly (using SW_HIDE before and SW_SHOW after setting new wnd style) wirks great.

Test please the app.

_________________
Any offers?
Post 19 Oct 2006, 20:03
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4174
Location: 2018
it's a very good program
very usefull
i'll put this in the start folder and invalidate the task bar clock
thank you
Post 07 Nov 2006, 11:47
View user's profile Send private message Visit poster's website Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
edfed, thanks for nice words)))
It's just educational proggy, i think, just showing some API funcs in use... anything can be added there - tray icon, tooltips etc. But now i leave it as is due to lack of inspiration) but in future...

_________________
Any offers?
Post 07 Nov 2006, 19:42
View user's profile Send private message Reply with quote
zubi



Joined: 27 Apr 2006
Posts: 26
Location: Turkey
yes, nice clock really. I can't, however, disable topmost and taskbar at the same time.
Post 07 Nov 2006, 23:14
View user's profile Send private message MSN Messenger Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
i did it purposely because if you disable them simultaneously, you won't be able to reach clocks even with ALT-TAB cuz they'll be at the bottom...
Post 08 Nov 2006, 09:49
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2145
Location: Estonia
Smile Overall nice, but a bit too much code when I first looked at it. Maybe its all neccessary (I haven't found any major size optimization possibilities yet), but just it *feels* like too much.

Anyway - good work!
Post 08 Nov 2006, 10:20
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4174
Location: 2018
there is a little problem
if i close the clock in notaskbar mode it's reopen in taskbar mode
i want to save the full config of the clock , topmost, task bar, font, colors

can you do that please?

thank you
Post 16 Nov 2006, 11:26
View user's profile Send private message Visit poster's website Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 401
Location: Russian
Sooner or Later i'll try to do this )
Post 16 Nov 2006, 20:17
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.