.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Mark Dubbelaar
docking panel
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
146 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
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
Re: docking panel
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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...
Thanks and any time [RE: the sample]!
-- Mike
___________________________
Mike Tuersley
___________________________
the trick is to realize that there is no spoon...
*Mark Dubbelaar
Re: docking panel
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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...
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"
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
Re: docking panel
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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...
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"
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"
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...
Re: docking panel
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
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
Re: docking panel
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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...
"Tony Tanzillo"
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"
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"
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...

