What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!)

[Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!)
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!)
quote:
Originally posted by phalanxii
However, sometimes Plus! windows are not enough. For example, (as far as I know) it is impossible to detect the changing of tabbed chats using only the Plus! scripting engine and the Win32 API.
That's very possible iirc.

quote:
Originally posted by phalanxii
It is even more impossible to detect messages sent to external applications (like Winamp for example).
Also possible....

No need for an ActiveX for all of this. Just some API stuff... In fact, the ActiveXs do exactly what you already can do in Plus! by using the Windows API.

Though using this ActiveX might be the easy solution for some. So, very good and nice find though (y)...



But then again, some problems may arise when you use ActiveX (especially if more than one script is going to use the same one):
quote:
Originally posted by phalanxii
Firstly, the DLL is required to be registered when the script is imported, so this line must be added to ScriptInfo.xml:
code:
<OleFiles>
    <FileName>ARSubclass.dll</FileName>
</OleFiles>
Here is an example code of how to use it:
code:
var ARSubclass = new ActiveXObject("ARSubclassLib.ARSubclass");

I actually do not recommend all of this (even including the use of <OleFiles>). (I think Patchou will shoot me now :p) The reason is again that you will get into trouble when more than one script is going to use that DLL and you later install or remove even more scripts which use it.




---------

As for the tabbed chat window example, I think that can be done much easier and with subclassing just 1 window. The hidden Plus! window which controls the tabs.

This post was edited on 03-27-2008 at 08:10 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-27-2008 07:25 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by phalanxii on 03-27-2008 at 12:05 PM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by effection on 03-27-2008 at 04:45 PM
RE: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by phalanxii on 03-28-2008 at 12:47 AM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by CookieRevised on 03-27-2008 at 07:25 PM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by felipEx on 03-28-2008 at 05:00 AM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by phalanxii on 03-28-2008 at 07:03 AM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by CookieRevised on 03-28-2008 at 04:57 PM
RE: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by deAd on 03-28-2008 at 06:22 PM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by CookieRevised on 03-28-2008 at 06:49 PM
RE: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by deAd on 03-28-2008 at 07:20 PM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by Patchou on 03-28-2008 at 07:34 PM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by CookieRevised on 03-29-2008 at 03:56 AM
RE: RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by deAd on 03-29-2008 at 06:17 PM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by CookieRevised on 03-29-2008 at 07:18 PM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by riahc4 on 03-31-2008 at 12:59 AM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by phalanxii on 04-12-2008 at 12:44 AM
RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!) - by roflmao456 on 04-12-2008 at 02:13 AM


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