.NET

Reply
*Mark Dubbelaar
Message 1 of 6 (170 Views)

docking panel

170 Views, 5 Replies
08-16-2005 07:10 PM
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
*Mike Tuersley
Message 2 of 6 (170 Views)

Re: docking panel

08-16-2005 09:43 PM in reply to: *Mark Dubbelaar
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...
*Mark Dubbelaar
Message 3 of 6 (170 Views)

Re: docking panel

08-17-2005 05:54 PM in reply to: *Mark Dubbelaar
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...
*Tony Tanzillo
Message 4 of 6 (170 Views)

Re: docking panel

08-17-2005 06:20 PM in reply to: *Mark Dubbelaar
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...
Distinguished Contributor
cgay
Posts: 125
Registered: ‎08-02-2005
Message 5 of 6 (170 Views)

Re: docking panel

08-18-2005 10:03 AM in reply to: *Mark Dubbelaar
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
*Mark Dubbelaar
Message 6 of 6 (170 Views)

Re: docking panel

08-18-2005 10:00 PM in reply to: *Mark Dubbelaar
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...
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!