mIRC Home    About    Download    Register    News    Help

Print Thread
#31511 22/06/03 05:51 PM
N
NRJ
NRJ
N
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

C
codemastr
codemastr
C
Umm no.

P
pheonix
pheonix
P
maybe using a few tens of dll's grin

C
codemastr
codemastr
C
Nope, you can't embed an executable file in a dialog.

M
MTech
MTech
M
it will just download, no?

C
codemastr
codemastr
C
What?

Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
You could always make one ith a picture window, sine and cosine >:D

C
codemastr
codemastr
C
Yes of course you could always write your own... trigonometry is fun!

Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
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

I
Indefinate
Indefinate
I
What about writing a DLL to read the Windows Time, and display that in your Dialog?

andy

P
pheonix
pheonix
P
i think that making an analogue clock would be a good test to start using picwins grin

M
MTech
MTech
M
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??

Last edited by MTech; 23/06/03 03:26 PM.
P
pheonix
pheonix
P
or he could use a picwin shocked

N
NRJ
NRJ
N
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

P
pheonix
pheonix
P
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

Joined: Feb 2003
Posts: 308
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 308
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.


Link Copied to Clipboard