Page 3 of 3
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sat Jan 24, 2009 11:16 am
by nohitter151
Yes, and Embedded Minilyrics embeds another program (Minilyrics), so a right-click brings up the Minilyrics context window.
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sat Jan 24, 2009 11:29 am
by ZvezdanD
Well, menus could be inherited. Just add one more option to the existing one. Even if they could not do that, there are many other scripts which have empty area not covered by some control where you could right click and get pop-up menu. If we, script developers need to use some strange methods (Options dialog, inconvenient menus,...) just because of two or three scripts which could not get pop-up menu, then I don't know what to say. It is most intuitive for me as user to enable/disable title bar by the right-click. First thing which I tried when I created my first script with dockable panel was to check if it have similar pop-up menu with Show Titlebar option as other built-in panels and I think that many users think in same way.
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sat Jan 24, 2009 7:40 pm
by DaledeSilva
I agree that that is how it should work.
But the scripts which can't do that still need to be addressed.
That's why I suggested the view menu option in my solution a few posts above.
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sun Jan 25, 2009 12:55 am
by ZvezdanD
gege wrote:LV and MR, for example, are embedded IE instances. If you right-click inside them, you're in fact getting IE context menu.
Here is the first link which you get in Google when you type "ie contex menu add":
Adding Entries to the Standard Context Menu
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sun Jan 25, 2009 1:07 am
by ZvezdanD
DaledeSilva wrote:But the scripts which can't do that still need to be addressed.
I don't care about those scripts. It is up to their authors to resolve this. But I care about all remaining scripts (existing and succeeding) which (will) have a possibility to get context menu directly by MM itself without any modification from the script's author.
I have the next proposal:
1. MM developers should add display of the context menu by the right-click on the dockable panel with the Show Titlebar option. This would work with all scripts which have at least some little part of area uncovered by MM controls.
2. Authors of scripts which don't have any part of panel uncovered by MM controls should find their way to toggle visibility of the title bar. Solution with scripts which use Web Browser ActiveX to add option to the context menu is very simple, as I pointed in the previous post.
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sun Jan 25, 2009 7:31 am
by DaledeSilva
It's easy to say you don't care about those scripts now... but if your favourite script writer doesn't update his/her script, then you would care.
The point is, the solution you suggest, and the solution I expected are not mutually exclusive.
That is;
- yes, right clicking on the titlebar should give the option to hide it - and it would be good if right clicking within the window did the same where possible (with option for unhide too).
- The view menu should also have an option to show / hide all titlebars
This would cover all possibilities
(Still, if anyone knows how it might be possible to access a list of active dockable panels, I would be able to write a script)
Dale.
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sun Jan 25, 2009 9:32 am
by ZvezdanD
DaledeSilva wrote:if anyone knows how it might be possible to access a list of active dockable panels,
I know how it might be possible to access a list of active dockable panels, but I suppose this is not what you want. Hint: try to find TTBXDockablePanelTransp class

Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sun Jan 25, 2009 2:59 pm
by Fraxav
I'm sorry, I don't understand enough about scripts to post a really useful idea, but reading your posts I see you've got some tools and I think there are basically two ways:
- Scripts are embedded in a program, that is MM, and MM adds the titlebars to the scripts. In this case, MM shoud add the possibility to hide the titlebar he added. Or, change the way scripts are embedded: no more titlebars and mouse (or mouse + keyboard) gestures to move the scripts, wich is basically what people need titlebars for.
- MM embeds scripts but it's the scripter that adds the titlebar (or options for it, if MM has still some part in that). Well in this case I read it's (gonna be) possible for the scripter to add context menus to hide the titlebar, so he should do so. If the scripter doesn't update his script, another scripter could. The guy that is editing the script for all of us users, should only underline that he's just editing the product, and he's not the creator.
Or, a titlebar hiding script could be done as a workaround for those not updated scripts.
Am I missing something?
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Fri Jan 30, 2009 10:50 am
by jespervdw
raybeau528 wrote:I just tested this with .1209 and works as advertised, ie mydockablepanel.showcaption = false, removes the titlebar completely.
Thanks!
Ray
Where can I find that line?
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Fri Jan 30, 2009 12:49 pm
by nohitter151
jespervdw wrote:raybeau528 wrote:I just tested this with .1209 and works as advertised, ie mydockablepanel.showcaption = false, removes the titlebar completely.
Thanks!
Ray
Where can I find that line?
In Ray's script...
Re: BUG#5129 Hide Titlebar on Panels added by Scripts
Posted: Sat Feb 07, 2009 11:14 am
by DaledeSilva
Hey guys,
I was following along and I've created a script to address this issue:
I've uploaded it here:
http://www.mediamonkey.com/forum/viewto ... =2&t=37082
don't forget to use the shortcut key!
enjoy
Dale.