mIRC Homepage
Posted By: NRJ A clock (.exe) in a DIALOG? - 22/06/03 05:51 PM
Can I insert a clock as .exe-file (or a screensaver) into a dialog?

It's this program: http://www.gorgy-timing.de/Software/dieuhr.zip

Greets, Mathias
Posted By: codemastr Re: A clock (.exe) in a DIALOG? - 22/06/03 05:52 PM
Umm no.
Posted By: pheonix Re: A clock (.exe) in a DIALOG? - 22/06/03 05:55 PM
maybe using a few tens of dll's grin
Posted By: codemastr Re: A clock (.exe) in a DIALOG? - 22/06/03 06:24 PM
Nope, you can't embed an executable file in a dialog.
Posted By: MTech Re: A clock (.exe) in a DIALOG? - 22/06/03 06:47 PM
it will just download, no?
Posted By: codemastr Re: A clock (.exe) in a DIALOG? - 22/06/03 07:18 PM
What?
Posted By: KingTomato Re: A clock (.exe) in a DIALOG? - 22/06/03 07:34 PM
You could always make one ith a picture window, sine and cosine >:D
Posted By: codemastr Re: A clock (.exe) in a DIALOG? - 22/06/03 07:42 PM
Yes of course you could always write your own... trigonometry is fun!
Posted By: KingTomato Re: A clock (.exe) in a DIALOG? - 22/06/03 08:01 PM
I tryed one, and after an hour and a half just to get the most basic thing to work, i said forget it. I had tokeep writing over the old line and writing a new one, and calculate how many degrees X minutes are. Just bothersome for something u can easily look at the bottom right corner for >:D
Posted By: Indefinate Re: A clock (.exe) in a DIALOG? - 23/06/03 09:28 AM
What about writing a DLL to read the Windows Time, and display that in your Dialog?

andy
Posted By: pheonix Re: A clock (.exe) in a DIALOG? - 23/06/03 09:35 AM
i think that making an analogue clock would be a good test to start using picwins grin
Posted By: MTech Re: A clock (.exe) in a DIALOG? - 23/06/03 03:23 PM
i got it smile
make 50,000,000 pictures (screenshots) of that clock you like so much and name each file in the correct format of the mirc '$time' for whatever time the ss says it is

then use somthing like this:


Code:
.timerclock -o 0 1 clock

alias clock {
     if (dialogname) {
         /did -ra dialogname dialogID $time $+ .bmp
     }
}

hehehehehehehehe

maybe i can get a copy if u go through with it??
Posted By: pheonix Re: A clock (.exe) in a DIALOG? - 23/06/03 06:09 PM
or he could use a picwin shocked
Posted By: NRJ Re: A clock (.exe) in a DIALOG? - 23/06/03 07:02 PM
Ok , I will try it with the individual pictures. I would like to build then however directly into my MP3-Script with. Then can be changed by the position and by the size badly, if want to have the other one or the clock is to be positioned elsewhere. Can I make that somehow variable? Can I insert a DIALOG (with the clock) for example into another DIALOG?

Greets, Mathias
Posted By: pheonix Re: A clock (.exe) in a DIALOG? - 23/06/03 07:39 PM
not that i know off:S
the best way you could make a clock, is either using a picture window or make it on the net and use nHTMLn_2.92.dll to add into a dialog
Posted By: CloCkWeRX Re: A clock (.exe) in a DIALOG? - 24/06/03 01:51 AM
Trig Trig evil Trig

I had to write my own in VB6 for the course I did (and I have a pending exam in it in less than a few hours), and I hated it.

I got it to tick. I got it to move. It didn't move in the right direction, and visual basic didn't like to work with the simple drawline from 0,0 to sin(theta), cos(theta)

So I'm now of the humble opinion that this is evil.
© mIRC Discussion Forums