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
Quality Assurance
Bugtracker Feed
0004059: Using numeric keys in Mypictures plugin opens layout menu
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="MediaPortal-Bot" data-source="post: 930626" data-attributes="member: 48617"><p>In Windowpluginbase.cs there is check for following in public override bool OnMessage(GUIMessage message):<br /> <br /> if (message.TargetControlId == btnLayouts.GetID)<br /> <br /> In case of sms search, message.TargetControlId holds sender window id and in case for Mypictures it is "2" exactly as btnLayouts id and as condition is "true"<br /> folowing is executed:<br /> // Set the new layout and select the currently selected item in the layout.<br /> SetLayout((Layout)btnLayouts.SelectedItemValue);<br /> SelectCurrentItem();<br /> <br /> // Refocus on the layout button control.<br /> GUIControl.FocusControl(GetID, message.TargetControlId);<br /> <br /> msgHandled = true;<br /> <br /> which opens side menu for layout, sort....</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=4059" target="_blank">Continue reading...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 930626, member: 48617"] In Windowpluginbase.cs there is check for following in public override bool OnMessage(GUIMessage message):<br /> <br /> if (message.TargetControlId == btnLayouts.GetID)<br /> <br /> In case of sms search, message.TargetControlId holds sender window id and in case for Mypictures it is "2" exactly as btnLayouts id and as condition is "true"<br /> folowing is executed:<br /> // Set the new layout and select the currently selected item in the layout.<br /> SetLayout((Layout)btnLayouts.SelectedItemValue);<br /> SelectCurrentItem();<br /> <br /> // Refocus on the layout button control.<br /> GUIControl.FocusControl(GetID, message.TargetControlId);<br /> <br /> msgHandled = true;<br /> <br /> which opens side menu for layout, sort.... [url="http://mantis.team-mediaportal.com/view.php?id=4059"]Continue reading...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0004059: Using numeric keys in Mypictures plugin opens layout menu
Contact us
RSS
Top
Bottom