http://wiki.shoutcast.com/index.php?title=Subclassing&feed=atom&action=historySubclassing - Revision history2024-03-29T00:27:49ZRevision history for this page on the wikiMediaWiki 1.22.3http://wiki.shoutcast.com/index.php?title=Subclassing&diff=954&oldid=prevTarik: Protected "Subclassing" [edit=autoconfirmed:move=autoconfirmed]2008-09-25T13:13:28Z<p>Protected "<a href="/wiki/Subclassing" title="Subclassing">Subclassing</a>" [edit=autoconfirmed:move=autoconfirmed]</p>
<table class='diff diff-contentalign-left'>
<tr style='vertical-align: top;'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 13:13, 25 September 2008</td>
</tr><tr><td colspan='2' style='text-align: center;'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Tarikhttp://wiki.shoutcast.com/index.php?title=Subclassing&diff=124&oldid=prev10.180.148.196: New page: == Subclassing == Subclassing is a technique common to Windows development. It involves supplying your own window function for someone's window, and changing behavior by supplying your o...2008-08-18T20:41:22Z<p>New page: == Subclassing == Subclassing is a technique common to Windows development. It involves supplying your own window function for someone's window, and changing behavior by supplying your o...</p>
<p><b>New page</b></p><div>== Subclassing ==<br />
<br />
Subclassing is a technique common to Windows development. It involves supplying your own window function for someone's window, and changing behavior by supplying your own logic for processing certain messages.<br />
<br />
Because your plugin is given Winamp's HWND during initialization, it is possible for your plugin to subclass Winamp's main window. Since the [[SendMessageAPI|Send Message API]] is built by sending messages to the Winamp window, your plugin can do a great deal without even effecting the UI. From simple notifications (e.g. Winamp sends msg=WM_WA_IPC, wParam=IPC_CB_MISC_TITLE, lParam=IPC_CB_MISC on song change) to radically altering behavior (e.g. Winamp checks the return value of msg=WM_WA_IPC, lParam=IPC_GET_NEXT_PLITEM to allow plugin's to override playlist playback order).</div>10.180.148.196