Transparent Clock sourcecode
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Can't get gadget to work...
NOW CAN...
I had to read the entire thing. NetMaestro I think I learned more from that bit of coding than my perusal of the entire PB manual...
NOW CAN...
I had to read the entire thing. NetMaestro I think I learned more from that bit of coding than my perusal of the entire PB manual...

Last edited by Rook Zimbabwe on Mon Jun 18, 2007 5:15 am, edited 1 time in total.
Strange little bug (although it might just be on my system), I ran this program and everything worked fine, now every program I write or load that opens a window uses the little clock icon in the notification area at the bottom of the screen, I assume that it is a registry problem as I'm not using any icons in the compiler options. I'm running PB4.10b2 incase that is the problem.
Anyone else getting this problem?
Edit. Just searched the registry and the clock24.ico isn't in there so must be something else??
Anyone else getting this problem?
Edit. Just searched the registry and the clock24.ico isn't in there so must be something else??
Just did a fresh install back to 4.02 and the problem was gone so downloaded the beta2 and installed it and the sys icon is back to the clock again. Have no idea where it is coming from as I have deleted the icon off the computer. Looking through Netmaestro's code I can't see any reason why the icon would be saved anywhere anyway.
Just tried on another computer and the same thing happens.
Run Netmaestro's program and select to resize the clock, exit the program and run anything that opens a window
and look at the icon in the notification bar at the bottom.
I'm not saying Netmaestro's code is wrong, I'm saying there is a bug with PB4.10b2 somewhere.
Run Netmaestro's program and select to resize the clock, exit the program and run anything that opens a window
Code: Select all
openwindow(0,0,0,800,600,"",$ca0001)
repeat
until waitwindowevent()=16
I'm not saying Netmaestro's code is wrong, I'm saying there is a bug with PB4.10b2 somewhere.
-
- Addict
- Posts: 4791
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Hello netmaestro,
thanks a lot for this nice program!
I also tested your compiled program "transparentclock.exe" from your
website, which looks even more amazing! I like it very much! The
compiled EXE program seems to have a small glitch, though. When it has
saved its settings to the registry, it doesn't re-read them at the next
start. I think it also should be possible to start the program with the
settings passed as command-line parameter, e.g.:
This is possible with the program that you provided here as source code,
but not with the compiled EXE program from your website. But I'd prefer
to use that program, because it looks soooooooo good!
Another suggestion for improvement:
The program is made in a way, so that multiple instances can be called
in order to show times of different locations on earth. Very cool,
exactly what I need.
But when I'd have clocks which show me the time of say Paris, New York,
Tokio, and Sydney, it is impossible for me to remember by mind what
time is before noon and what time is after noon. So it would be very
useful if the program would additionally display a.m. or p.m.,
respectively.
I think then the program would be "commercial quality", and I'm actually
willing to pay money for it.
Regards, Little John
thanks a lot for this nice program!
I also tested your compiled program "transparentclock.exe" from your
website, which looks even more amazing! I like it very much! The
compiled EXE program seems to have a small glitch, though. When it has
saved its settings to the registry, it doesn't re-read them at the next
start. I think it also should be possible to start the program with the
settings passed as command-line parameter, e.g.:
Code: Select all
transparentclock.exe Berlin,0,300,400,200,1,1,1
but not with the compiled EXE program from your website. But I'd prefer
to use that program, because it looks soooooooo good!
Another suggestion for improvement:
The program is made in a way, so that multiple instances can be called
in order to show times of different locations on earth. Very cool,
exactly what I need.
But when I'd have clocks which show me the time of say Paris, New York,
Tokio, and Sydney, it is impossible for me to remember by mind what
time is before noon and what time is after noon. So it would be very
useful if the program would additionally display a.m. or p.m.,
respectively.
I think then the program would be "commercial quality", and I'm actually
willing to pay money for it.
Regards, Little John
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
-
- Addict
- Posts: 4791
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
I don't know. I never have bought all those rights of a product that you mentioned, so I don't have any experience with this.netmaestro wrote:How much money? For example, if the original images, source and all rights to the intellectual property were on the table, what would you pay?
I'd only like to buy a license that allows me to use 1 copy of the program (modified as suggested) on my PC. Probably sooner or later I'd like to buy some more licenses, in order to give them to friends as a birthday present or so. To me personally, for a license to use the program unlimited in time, about 10 to 15 EUR would be appropriate.
Regards, Little John
Source code?
Hi all 
Any chance of reviving this? I'm interested in learning about skinning and creating a clock. I can't download the source unfortunately

Any chance of reviving this? I'm interested in learning about skinning and creating a clock. I can't download the source unfortunately

- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re:
Hi,netmaestro wrote:Please accept my apologies. Link is fixed now.
two years later, I have to ask again. I just entered the fascinating world of PB and would like to see this famous piece of code

Could you fix the link, please?
Thanks.