Posts: 1622 Reputation: 50
36 / /
Joined: Jan 2006
RE: [request] clock
quote:Originally posted by deAd
quote:Originally posted by Mattike
Oh noes, a clock in a conversation window?
That means manually hooking in WLM, intercepting the creation of a chatwindow, then modifying it in the memory, and last but not least a timer which has to change it every second! That will be hard, too hard for me!
* Mattike looks at the other, more advanced script developers...
Actually, it doesn't. You use the OnEvent_ChatWndCreated event, and then create a window with the clock on it. Then set that window's parent to the ChatWnd and position it correctly.
You can't set the chat window as the parent window, you can only have a msg plus window. I tested this out just after you said it to make sure.
This post was edited on 08-27-2006 at 02:44 PM by markee.