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 Talk
Guicontrolsdemo ? come out, come out, whereever you are?
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="gpnash" data-source="post: 1201514" data-attributes="member: 151666"><p>The example I started with was the one from the vb sample in the wiki <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer's_Guide/1_Develop_a_Plugin/Visual_Basic" target="_blank">http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer's_Guide/1_Develop_a_Plugin/Visual_Basic</a></p><p></p><p>The only reason I mentioned MP2 was, if I was going to have to go to school to learn how the plugin interface works, I'd have preferred to learn the new way rather than have to start over in a year or so. The research I've done over the last couple of days tells me that my MP2 days after further off than that.</p><p></p><p>Don't know what c# code you're looking at but I've been looking thru the MP1 > windowsplugins > music code all day and it's so much more complex than any thing I'm trying I can't find the pieces that would apply. Segments of definitions (that you get when using go to definition or find references) don't explain why things are working the way they are. they give you a clue as to how to call a function but not near enough. </p><p>I had some difficulty in the beginning with overloads/overrides on INIT and OnPageLoad which caused them not to work. the MP1 code helped there a lot and now at least that's functioning correctly. interaction with the gui is a issue. It would be nice to have something that outlines the level of interaction needed. Back in the day I had to code every bit and byte that went thru the 3705 to make it to the IBM mainframe, moving ahead windows forms rolls things up choc-full-o-nuts and hands it to you. I'm suspecting MP is smack-dab in the middle of those two.</p><p></p><p>so the question becomes.. I've got my button, and list displayed on the page. JoeAverage grabs his remote or mouse or presses the down arrow on the keyboard and focus moves from my button to the guilistcontrol's firstitem. I know if that key is pressed one more time the next item is highlighted and my code is hit with an OnSelectionChanged event (I added a handler to each guilistitem) I didn't expect that. I expected to be notified when the item was selected (navigated to and a button or keypress to select) So I'm doing it wrong, no surprise there.</p><p>I can't find in the music code where anything like this is done at all. I think what I need to be doing is examining the MSG's (onMessage) but I haven't been able to find something that differentiates between moving down the list of items from selecting one of them. Based on what you said earlier it sounds like I need to set OnClick instead of OnSelectedChanged. it also seems I've been focused on the wrong control GUIListControl when I should be looking at GUIWindow.</p><p></p><p>I appreciate your patience. The reason I do things the long and hard way is so that I can expose myself (well, not that way) to as much of the subject as possible. There are quite a few things that I have in the works and some of them will never work (based on MP2's direction). By digging thru the mess I'm making I also find solutions for those problems. Not the most efficient way to work, but I'm retired and live with a blind cat so who cares.</p><p></p><p>thanks again.</p></blockquote><p></p>
[QUOTE="gpnash, post: 1201514, member: 151666"] The example I started with was the one from the vb sample in the wiki [URL]http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer's_Guide/1_Develop_a_Plugin/Visual_Basic[/URL] The only reason I mentioned MP2 was, if I was going to have to go to school to learn how the plugin interface works, I'd have preferred to learn the new way rather than have to start over in a year or so. The research I've done over the last couple of days tells me that my MP2 days after further off than that. Don't know what c# code you're looking at but I've been looking thru the MP1 > windowsplugins > music code all day and it's so much more complex than any thing I'm trying I can't find the pieces that would apply. Segments of definitions (that you get when using go to definition or find references) don't explain why things are working the way they are. they give you a clue as to how to call a function but not near enough. I had some difficulty in the beginning with overloads/overrides on INIT and OnPageLoad which caused them not to work. the MP1 code helped there a lot and now at least that's functioning correctly. interaction with the gui is a issue. It would be nice to have something that outlines the level of interaction needed. Back in the day I had to code every bit and byte that went thru the 3705 to make it to the IBM mainframe, moving ahead windows forms rolls things up choc-full-o-nuts and hands it to you. I'm suspecting MP is smack-dab in the middle of those two. so the question becomes.. I've got my button, and list displayed on the page. JoeAverage grabs his remote or mouse or presses the down arrow on the keyboard and focus moves from my button to the guilistcontrol's firstitem. I know if that key is pressed one more time the next item is highlighted and my code is hit with an OnSelectionChanged event (I added a handler to each guilistitem) I didn't expect that. I expected to be notified when the item was selected (navigated to and a button or keypress to select) So I'm doing it wrong, no surprise there. I can't find in the music code where anything like this is done at all. I think what I need to be doing is examining the MSG's (onMessage) but I haven't been able to find something that differentiates between moving down the list of items from selecting one of them. Based on what you said earlier it sounds like I need to set OnClick instead of OnSelectedChanged. it also seems I've been focused on the wrong control GUIListControl when I should be looking at GUIWindow. I appreciate your patience. The reason I do things the long and hard way is so that I can expose myself (well, not that way) to as much of the subject as possible. There are quite a few things that I have in the works and some of them will never work (based on MP2's direction). By digging thru the mess I'm making I also find solutions for those problems. Not the most efficient way to work, but I'm retired and live with a blind cat so who cares. thanks again. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Guicontrolsdemo ? come out, come out, whereever you are?
Contact us
RSS
Top
Bottom