docking panel

docking panel

Anonymous
Not applicable
1,044 Views
5 Replies
Message 1 of 6

docking panel

Anonymous
Not applicable
hi,

after using the dockable panel example from ARX SDK, and then using the one
posted on this news group (thanks Mike Tuersley), each new dockable panel
that i create has the same 'Title' up the side, in my case its TEST PALETTE
SET.
i was wondering how to change this to be whatever i want it to be... i've
changed the 'Name' argument in the line below, thinking that would fix it,
but it hasn't
m_PaletteSet = New Autodesk.AutoCAD.Windows.PaletteSet("Plotting", New
Guid("63B8DB5B-10E4-4924-B8A2-A9CF9158E4F6"))

any help would be great

cheers

mark
0 Likes
1,045 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Did you generate a new GUID, Mark?

Thanks and any time [RE: the sample]!

-- Mike
___________________________
Mike Tuersley
___________________________
the trick is to realize that there is no spoon...
0 Likes
Message 3 of 6

Anonymous
Not applicable
mike, no i hadn't generated a new GUID (to be honest i have no idea what
that is / does or how to generate it).... anyways, i thought that might be a
value saved somewhere in the registry, but after a search i couldn't track
it down... buy i found a solution and that was to just rename the docking
panel inside autocad

i'm only concerned when i start to deploy the new docking panel.... if a
user already has a 3rd party docking panel (using the same GUID) then i
guess they'll get the Title from that one and not what i specify... is this
the case???


thanks

mark


"Mike Tuersley" wrote in message
news:4930550@discussion.autodesk.com...
Did you generate a new GUID, Mark?

Thanks and any time [RE: the sample]!

-- Mike
___________________________
Mike Tuersley
___________________________
the trick is to realize that there is no spoon...
0 Likes
Message 4 of 6

Anonymous
Not applicable
GUID = Globally Unique IDentifier

IOW, the purpose of a GUID is based on the premise
that no two are the same. So, the chances that someone
else has used the same GUID as you, are about as good
as the chances that you can hit Pluto with a slingshot.

You can use the IDE tools to generate GUIDs.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"Mark Dubbelaar" wrote in message news:4931773@discussion.autodesk.com...
mike, no i hadn't generated a new GUID (to be honest i have no idea what
that is / does or how to generate it).... anyways, i thought that might be a
value saved somewhere in the registry, but after a search i couldn't track
it down... buy i found a solution and that was to just rename the docking
panel inside autocad

i'm only concerned when i start to deploy the new docking panel.... if a
user already has a 3rd party docking panel (using the same GUID) then i
guess they'll get the Title from that one and not what i specify... is this
the case???


thanks

mark


"Mike Tuersley" wrote in message
news:4930550@discussion.autodesk.com...
Did you generate a new GUID, Mark?

Thanks and any time [RE: the sample]!

-- Mike
___________________________
Mike Tuersley
___________________________
the trick is to realize that there is no spoon...
0 Likes
Message 5 of 6

cgay
Enthusiast
Enthusiast
Mark,

If I'm not mistaken, I believe that the NEW operator is overloaded so you don't even have to use a GUID to instantiate an instance at all. If you are using VB.NET you can just call
[code] m_PaletteSet = New Autodesk.AutoCAD.Windows.PaletteSet("Plotting") [/code]
for C# I believe that you must a System.Type.Missing as the second parameter?
Good Luck,
Clif
0 Likes
Message 6 of 6

Anonymous
Not applicable
thanks guys... much appreciated


"Tony Tanzillo" wrote in message
news:4931793@discussion.autodesk.com...
GUID = Globally Unique IDentifier

IOW, the purpose of a GUID is based on the premise
that no two are the same. So, the chances that someone
else has used the same GUID as you, are about as good
as the chances that you can hit Pluto with a slingshot.

You can use the IDE tools to generate GUIDs.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"Mark Dubbelaar" wrote in message
news:4931773@discussion.autodesk.com...
mike, no i hadn't generated a new GUID (to be honest i have no idea what
that is / does or how to generate it).... anyways, i thought that might be a
value saved somewhere in the registry, but after a search i couldn't track
it down... buy i found a solution and that was to just rename the docking
panel inside autocad

i'm only concerned when i start to deploy the new docking panel.... if a
user already has a 3rd party docking panel (using the same GUID) then i
guess they'll get the Title from that one and not what i specify... is this
the case???


thanks

mark


"Mike Tuersley" wrote in message
news:4930550@discussion.autodesk.com...
Did you generate a new GUID, Mark?

Thanks and any time [RE: the sample]!

-- Mike
___________________________
Mike Tuersley
___________________________
the trick is to realize that there is no spoon...
0 Likes