Advanced help regarding "NewDockablePersistentPanel"

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva »

Hello,
does anyone know...
When I put in a line like this:

Dim Pnl : Set Pnl = SDB.UI.NewDockablePersistentPanel("PrettyPicturesPanel")

where is the information regarding that panel stored so that Mediamonkey can retrieve it on next run?

is it in the database or the ini file or somewhere else?

thanks,
Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by Teknojnky »

registry I believe, with all the other UI window positions and such.
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva »

considering it's in the registry...

is there a way.. using vbscript.. to talk to the registry and find out the names of the any persistent dockable panels that have been initialized?

Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva »

actually.. I just located it in the registry...
so all I have to do is learn how to talk to it with vbscript.. which I can probably find online pretty easy.

I smell a handy little script coming on!
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva »

bam.. I've gotten the list..
now I just need to make it work in the script!

Thanks Techno!

Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
gege
Posts: 866
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by gege »

DaledeSilva wrote:I smell a handy little script coming on!
Does it have anything to do with titlebars? :wink:
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva »

lol... don't you know it
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
MM3 monkey
Posts: 455
Joined: Mon Aug 27, 2007 2:34 am

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by MM3 monkey »

gege wrote:Does it have anything to do with titlebars? :wink:
Ha ha, even I was on to that one.

I'm sure what you already had in mind for us, Gege, was going to be very simple and cool - so hopefully DaledeSilva is in tune with you.
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva »

Hi Guys, thanks for your help.
I've now created a script which adds the ability to show and hide all title bars for panels.

It still needs to be be packaged up and have a couple of easy tweaks done, but i will release it in a day or so (I'm very busy atm)

Gege, do you have a link to the forum where title bars was being discussed so that I can post a link to the script there? - I can't seem to find it.

Thanks.
Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Dreadlau
Posts: 1967
Joined: Sun Nov 25, 2007 6:49 am

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by Dreadlau »

This is great DaledeSilva. Thx for sharing.

I'm looking forward to try it.
Seven Ultimate X64 SP1 / Sansa Clip 2go (with RockBox)
gege
Posts: 866
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by gege »

DaledeSilva wrote:Gege, do you have a link to the forum where title bars was being discussed so that I can post a link to the script there? - I can't seem to find it.
http://www.mediamonkey.com/forum/viewto ... =4&t=34403
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva »

Thanks guys.. I've just uploaded it here:

http://www.mediamonkey.com/forum/viewto ... =2&t=37082
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Post Reply