home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
GUI and non-GUI plugin combined
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="samuel337" data-source="post: 7142" data-attributes="member: 10347"><p>I haven't tested this 100% but I'm pretty sure that if you create a window plugin, if you override the Init method it will get called at startup. I've done this with my party shuffle addition. For example:</p><p></p><p>[code]</p><p>public override bool Init()</p><p> {</p><p> //added by Sam</p><p> GUIWindowManager.Receivers += new SendMessageHandler(this.OnThreadMessage);</p><p> }</p><p>[/code]</p><p></p><p>Now all messages from MP are received by this class through the OnThreadMessage method.</p><p></p><p>Sam</p></blockquote><p></p>
[QUOTE="samuel337, post: 7142, member: 10347"] I haven't tested this 100% but I'm pretty sure that if you create a window plugin, if you override the Init method it will get called at startup. I've done this with my party shuffle addition. For example: [code] public override bool Init() { //added by Sam GUIWindowManager.Receivers += new SendMessageHandler(this.OnThreadMessage); } [/code] Now all messages from MP are received by this class through the OnThreadMessage method. Sam [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
GUI and non-GUI plugin combined
Contact us
RSS
Top
Bottom