RE: [Resource] Subclassing ActiveXObjects (and [Release] TabbedStatusIcon too!)
the only thing I'll say on this subject is: careful. Subclassing windows properly is something that takes time and anybody doing this kind of thing needs to make sure his code is tested extensively.
As for using GetCallbackPtr with SetWindowLong: don't. The documentation specifically mentions that this function can only be used for synchronous calls. If you make a script that defys this rule, it may work at first but the combination of several scripts will certainely cause unexpected results / crashes.
This post was edited on 03-28-2008 at 07:55 PM by Patchou.
|