What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [request] clock

Pages: (3): « First « 1 [ 2 ] 3 » Last »
[request] clock
Author: Message:
boston
Banned


Posts: 116
Reputation: -8
Joined: Aug 2006
RE: [request] clock
what about the place where youve got the nudge, wink bottons and emoticons and backgrounds etc there on the left easy to find


P.s if its possible
08-27-2006 02:01 PM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [request] clock
quote:
Originally posted by Mattike
Oh noes, a clock in a conversation window? :P

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... ^o)

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.
08-27-2006 02:28 PM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: [request] clock
Well, I already thought my idea was ridiculous... that's why I looked to the advanced developers! :D

But how the hell can you set it as a child of the chatwindow and position it?! :S
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
08-27-2006 02:33 PM
Profile E-Mail PM Web Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: [request] clock
quote:
Originally posted by deAd
quote:
Originally posted by Mattike
Oh noes, a clock in a conversation window? :P

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... ^o)

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.
[Image: markee.png]
08-27-2006 02:43 PM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [request] clock
No, you can use Interop.Call('User32','SetParent') :P and then you can get the chatwnd's dimensions and position the window from there.
08-27-2006 05:12 PM
Profile PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
37 / Male / Flag
Joined: Jul 2005
RE: RE: [request] clock
quote:
Originally posted by deAd
No, you can use Interop.Call('User32','SetParent') :P and then you can get the chatwnd's dimensions and position the window from there.

true, but what about the difference in placement when the window is tabbed or not? Also resizing the chat window will be a problem...
08-27-2006 06:37 PM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [request] clock
The tab part is not part of the chat window, it is a separate window made by Plus!, so this will not be a problem. Also, you can have a timer check every 100 milliseconds that each window has the clock in the right place and reset it. This way, when you resize it it will fix almost immediately.
08-27-2006 07:01 PM
Profile PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: [request] clock
will this be an easy script to make, and will someone do it, or is it too hard?
08-29-2006 10:12 AM
Profile E-Mail PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
37 / Male / Flag
Joined: Jul 2005
RE: [request] clock
well, deAd seems to find it easy so I'm sort of expecting a script from him :P
08-29-2006 04:14 PM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [request] clock
I honestly don't have time...I'm very busy, and when I get scripting time I'm working on a pretty big script I've been doing for a while now :(

so I'm not sure, isn't the system clock enough, why do you need three hundred clocks on the screen? :P
08-29-2006 08:40 PM
Profile PM Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On