• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    *Mark Dubbelaar

    docking panel

    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
    Please use plain text.
    *Mike Tuersley

    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...
    Please use plain text.
    *Mark Dubbelaar

    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...
    Please use plain text.
    *Tony Tanzillo

    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...
    Please use plain text.
    Distinguished Contributor
    Posts: 125
    Registered: ‎08-02-2005

    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
    Please use plain text.
    *Mark Dubbelaar

    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...
    Please use plain text.