<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamic Properties true color combobox in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6785979#M9027</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/792772"&gt;@BerndCuder8196&lt;/a&gt; wrote:&lt;BR /&gt;@Anonymous, in Dynamic Property i was able to show the color name in OPM as text and add an ellipse button that calls the AutoCAD true color dialog. Only the color itself is not visible, but this is more than users can do with e.g. dimension text color &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes. I was referring to this method and the impossibility of show a color icon picture in dynamic property.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 20:24:54 GMT</pubDate>
    <dc:creator>Alexander.Rivilis</dc:creator>
    <dc:date>2017-01-05T20:24:54Z</dc:date>
    <item>
      <title>Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777242#M9017</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does anybody know how to implement an color selection in OPM for true color?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally i implement it like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//IDynamicProperty&lt;BR /&gt;STDMETHODIMP Chtextcolor::GetCurrentValueName( /*[out]*/BSTR* pBstrName)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*pBstrName = ::SysAllocString(L"ACAD_COLOR");&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;return S_OK;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this will only shows the color combobox for AutoCAD ACI, not for true color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks, Bernd&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2016 23:57:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777242#M9017</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2016-12-31T23:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777291#M9018</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-01-01_3-28-04.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/306867i11B8A9E35B7D1895/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-01-01_3-28-04.png" alt="2017-01-01_3-28-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2017 01:33:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777291#M9018</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-01-01T01:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777389#M9019</link>
      <description>&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the entitys color property this is ok, but my custom entity have 2 AcCmColor i have implement in OPM via IDynamicProperty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use IDynamicProperty::GetCurrentValueName with ACAD_COLOR to show the standard AutoCAD color combo box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this shows only the combobox for Index Color (like CAcUiColorComboBox for dialogs), not with the tabs for True Color and Color Books (like CAcUiTrueColorComboBox for dialogs).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01-01-2017 10-56-10.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/306886i6E6AAA5B55EA6BAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="01-01-2017 10-56-10.png" alt="01-01-2017 10-56-10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2017 10:10:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777389#M9019</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2017-01-01T10:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777496#M9020</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/792772"&gt;@BerndCuder8196&lt;/a&gt; wrote:&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;For the entitys color property this is ok, but my custom entity have 2 AcCmColor i have implement in OPM via IDynamicProperty.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why you implement this property via IDynamicProperty?&lt;/P&gt;
&lt;P&gt;It is easy implement as static property:&lt;/P&gt;
&lt;PRE&gt;STDMETHOD(get_MyColor)(/*[out, retval]*/ ACAD_COLOR* pVal);
STDMETHOD(put_MyColor)(/*[in]*/ ACAD_COLOR newVal);&lt;/PRE&gt;</description>
      <pubDate>Sun, 01 Jan 2017 15:40:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6777496#M9020</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-01-01T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6778698#M9021</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunally i need insert add. propertys in OPM also for AutoCAD Objects, but i think this will not work witch static property or can i register this for example an AcDbDimension?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, i want test static property for my custom entitys, but when i create with objectarx wizard and Use ObjectARX ATL Extensions for custom entitys then there are 2 files missing and not created (MyProject.h and MayProject_i.c). What im doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And is there no way to implement truecolor combobox in OPM via dynamic properties, olny ACI combo?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks Bernd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 22:34:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6778698#M9021</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2017-01-02T22:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6780075#M9022</link>
      <description>&lt;P&gt;OK, i was able to create a COM Wrapper and implement it for my custom entity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For true color combobox you need to implement as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STDMETHODIMP get_koteColor(IAcadAcCmColor **pVal);&lt;BR /&gt;STDMETHODIMP put_koteColor(IAcadAcCmColor *newVal);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STDMETHOD(get_MyColor)(/*[out, retval]*/ ACAD_COLOR* pVal);&lt;/P&gt;&lt;P&gt;STDMETHOD(put_MyColor)(/*[in]*/ ACAD_COLOR newVal);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks, Bernd&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 16:55:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6780075#M9022</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2017-01-03T16:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6780094#M9023</link>
      <description>&lt;P&gt;IMHO with dynamic property you can not get combobox with true color but can use button with dialog in which you can use acedSetColorDialogTrueColor for selecting truecolor.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:01:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6780094#M9023</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-01-03T17:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6780968#M9024</link>
      <description>Hi Alexander,&lt;BR /&gt;&lt;BR /&gt;This was my first idea, an text box with the color name (ByLayer, 135, or RGB value) and an button for the true color dialog.&lt;BR /&gt;I think it is also possible to add an custom combo (derived from AutoCAD color combo) but my knowledge for this are to poor.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2017 22:33:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6780968#M9024</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2017-01-03T22:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6781025#M9025</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/792772"&gt;@BerndCuder8196&lt;/a&gt; wrote:&lt;BR /&gt;I think it is also possible to add an custom combo (derived from AutoCAD color combo) but my knowledge for this are to poor.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry but it is impossible to derive from AutoCAD color combo. Also I can not found any possibility to create own-drawn button as dynamic property.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:06:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6781025#M9025</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-01-03T23:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6785793#M9026</link>
      <description>Ok, I have found a funny thing in AutoCAD.&lt;BR /&gt;&lt;BR /&gt;AutoCAD itself didn't show the true color combo for nested colors in OPM.&lt;BR /&gt;&lt;BR /&gt;You can create an dimension style with true color for text and lines and then create an dimension with this true colors.&lt;BR /&gt;&lt;BR /&gt;But in OPM these colors broken down to ACI and you can only change to another ACI color, not to an true color. Maybe they have forgotten to implement it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;@Anonymous, in Dynamic Property i was able to show the color name in OPM as text and add an ellipse button that calls the AutoCAD true color dialog. Only the color itself is not visible, but this is more than users can do with e.g. dimension text color &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2017 19:15:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6785793#M9026</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2017-01-05T19:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6785979#M9027</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/792772"&gt;@BerndCuder8196&lt;/a&gt; wrote:&lt;BR /&gt;@Anonymous, in Dynamic Property i was able to show the color name in OPM as text and add an ellipse button that calls the AutoCAD true color dialog. Only the color itself is not visible, but this is more than users can do with e.g. dimension text color &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes. I was referring to this method and the impossibility of show a color icon picture in dynamic property.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 20:24:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6785979#M9027</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-01-05T20:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6785982#M9028</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;i remember using something like this in the wrapper, for a complex object in my c++/arx days many moons ago:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;in the .h&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;	STDMETHOD(get_ColorHatch)(/*[out, retval]*/ VARIANT *pv);
	STDMETHOD(put_ColorHatch)(/*[in]*/ VARIANT var);&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;in the .cpp&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;STDMETHODIMP CClosedPolygonWrapper::put_ColorHatch(VARIANT var)
{
	static AcGsColor AcadColors [] = 
	{
		{255, 255, 255, 255},  //----- 0 - ByBlock - White
		{255, 0, 0, 255},      //----- 1 - Red 
		{255, 255, 0, 255},    //----- 2 - Yellow
		{0, 255, 0, 255},      //----- 3 - Green
		{0, 255, 255, 255},    //----- 4 - Cyan
		{0, 0, 255, 255},      //----- 5 - Blue
		{255, 0, 255, 255},    //----- 6 - Magenta
		{255, 255, 255, 255},  //----- 7 - White
		{128, 128, 128, 255},  //----- 8
		{192, 192, 192, 255},  //----- 9
		{255, 0, 0, 255},      //----- 10
		{255, 127, 127, 255},  //----- 11
		{204, 0, 0, 255},      //----- 12
		{204, 102, 102, 255},  //----- 13
		{153, 0, 0, 255},      //----- 14
		{153, 73, 73, 255},    //----- 15
		{127, 0, 0, 255},      //----- 16
		{127, 63, 63, 255},    //----- 17
		{76, 0, 0, 255},       //----- 18
		{76, 38, 38, 255},     //----- 19
		{255, 63, 0, 255},     //----- 20
		{255, 159, 127, 255},  //----- 21
		{204, 51, 0, 255},     //----- 22
		{204, 127, 102, 255},  //----- 23
		{153, 38, 0, 255},     //----- 24
		{153, 95, 76, 255},    //----- 25
		{127, 31, 0, 255},     //----- 26
		{127, 79, 63, 255},    //----- 27
		{76, 19, 0, 255},      //----- 28
		{76, 47, 38, 255},     //----- 29
		{255, 127, 0, 255},    //----- 30
		{255, 191, 127, 255},  //----- 31
		{204, 102, 0, 255},    //----- 32
		{204, 153, 102, 255},  //----- 33
		{153, 76, 0, 255},     //----- 34
		{153, 114, 76, 255},   //----- 35
		{127, 63, 0, 255},     //----- 36
		{127, 95, 63, 255},    //----- 37
		{76, 38, 0, 255},      //----- 38
		{76, 57, 38, 255},     //----- 39
		{255, 191, 0, 255},    //----- 40
		{255, 223, 127, 255},  //----- 41
		{204, 153, 0, 255},    //----- 42
		{204, 178, 102, 255},  //----- 43
		{153, 114, 0, 255},    //----- 44
		{153, 133, 76, 255},   //----- 45
		{127, 95, 0, 255},     //----- 46
		{127, 111, 63, 255},   //----- 47
		{76, 57, 0, 255},      //----- 48
		{76, 66, 38, 255},     //----- 49
		{255, 255, 0, 255},    //----- 50
		{255, 255, 127, 255},  //----- 51
		{204, 204, 0, 255},    //----- 52
		{204, 204, 102, 255},  //----- 53
		{153, 153, 0, 255},    //----- 54
		{153, 153, 76, 255},   //----- 55
		{127, 127, 0, 255},    //----- 56
		{127, 127, 63, 255},   //----- 57
		{76, 76, 0, 255},      //----- 58
		{76, 76, 38, 255},     //----- 59
		{191, 255, 0, 255},    //----- 60
		{223, 255, 127, 255},  //----- 61
		{153, 204, 0, 255},    //----- 62
		{178, 204, 102, 255},  //----- 63
		{114, 153, 0, 255},    //----- 64
		{133, 153, 76, 255},   //----- 65
		{95, 127, 0, 255},     //----- 66
		{111, 127, 63, 255},   //----- 67
		{57, 76, 0, 255},      //----- 68
		{66, 76, 38, 255},     //----- 69
		{127, 255, 0, 255},    //----- 70
		{191, 255, 127, 255},  //----- 71
		{102, 204, 0, 255},    //----- 72
		{153, 204, 102, 255},  //----- 73
		{76, 153, 0, 255},     //----- 74
		{114, 153, 76, 255},   //----- 75
		{63, 127, 0, 255},     //----- 76
		{95, 127, 63, 255},    //----- 77
		{38, 76, 0, 255},      //----- 78
		{57, 76, 38, 255},     //----- 79
		{63, 255, 0, 255},     //----- 80
		{159, 255, 127, 255},  //----- 81
		{51, 204, 0, 255},     //----- 82
		{127, 204, 102, 255},  //----- 83
		{38, 153, 0, 255},     //----- 84
		{95, 153, 76, 255},    //----- 85
		{31, 127, 0, 255},     //----- 86
		{79, 127, 63, 255},    //----- 87
		{19, 76, 0, 255},      //----- 88
		{47, 76, 38, 255},     //----- 89
		{0, 255, 0, 255},      //----- 90
		{127, 255, 127, 255},  //----- 91
		{0, 204, 0, 255},      //----- 92
		{102, 204, 102, 255},  //----- 93
		{0, 153, 0, 255},      //----- 94
		{76, 153, 76, 255},    //----- 95
		{0, 127, 0, 255},      //----- 96
		{63, 127, 63, 255},    //----- 97
		{0, 76, 0, 255},       //----- 98
		{38, 76, 38, 255},     //----- 99
		{0, 255, 63, 255},     //----- 100
		{127, 255, 159, 255},  //----- 101
		{0, 204, 51, 255},     //----- 102
		{102, 204, 127, 255},  //----- 103
		{0, 153, 38, 255},     //----- 104
		{76, 153, 95, 255},    //----- 105
		{0, 127, 31, 255},     //----- 106
		{63, 127, 79, 255},    //----- 107
		{0, 76, 19, 255},      //----- 108
		{38, 76, 47, 255},     //----- 109
		{0, 255, 127, 255},    //----- 110
		{127, 255, 191, 255},  //----- 111
		{0, 204, 102, 255},    //----- 112
		{102, 204, 153, 255},  //----- 113
		{0, 153, 76, 255},     //----- 114
		{76, 153, 114, 255},   //----- 115
		{0, 127, 63, 255},     //----- 116
		{63, 127, 95, 255},    //----- 117
		{0, 76, 38, 255},      //----- 118
		{38, 76, 57, 255},     //----- 119
		{0, 255, 191, 255},    //----- 120
		{127, 255, 223, 255},  //----- 121
		{0, 204, 153, 255},    //----- 122
		{102, 204, 178, 255},  //----- 123
		{0, 153, 114, 255},    //----- 124
		{76, 153, 133, 255},   //----- 125
		{0, 127, 95, 255},     //----- 126
		{63, 127, 111, 255},   //----- 127
		{0, 76, 57, 255},      //----- 128
		{38, 76, 66, 255},     //----- 129
		{0, 255, 255, 255},    //----- 130
		{127, 255, 255, 255},  //----- 131
		{0, 204, 204, 255},    //----- 132
		{102, 204, 204, 255},  //----- 133
		{0, 153, 153, 255},    //----- 134
		{76, 153, 153, 255},   //----- 135
		{0, 127, 127, 255},    //----- 136
		{63, 127, 127, 255},   //----- 137
		{0, 76, 76, 255},      //----- 138
		{38, 76, 76, 255},     //----- 139
		{0, 191, 255, 255},    //----- 140
		{127, 223, 255, 255},  //----- 141
		{0, 153, 204, 255},    //----- 142
		{102, 178, 204, 255},  //----- 143
		{0, 114, 153, 255},    //----- 144
		{76, 133, 153, 255},   //----- 145
		{0, 95, 127, 255},     //----- 146
		{63, 111, 127, 255},   //----- 147
		{0, 57, 76, 255},      //----- 148
		{38, 66, 76, 255},     //----- 149
		{0, 127, 255, 255},    //----- 150
		{127, 191, 255, 255},  //----- 151
		{0, 102, 204, 255},    //----- 152
		{102, 153, 204, 255},  //----- 153
		{0, 76, 153, 255},     //----- 154
		{76, 114, 153, 255},   //----- 155
		{0, 63, 127, 255},     //----- 156
		{63, 95, 127, 255},    //----- 157
		{0, 38, 76, 255},      //----- 158
		{38, 57, 76, 255},     //----- 159
		{0, 63, 255, 255},     //----- 160
		{127, 159, 255, 255},  //----- 161
		{0, 51, 204, 255},     //----- 162
		{102, 127, 204, 255},  //----- 163
		{0, 38, 153, 255},     //----- 164
		{76, 95, 153, 255},    //----- 165
		{0, 31, 127, 255},     //----- 166
		{63, 79, 127, 255},    //----- 167
		{0, 19, 76, 255},      //----- 168
		{38, 47, 76, 255},     //----- 169
		{0, 0, 255, 255},      //----- 170
		{127, 127, 255, 255},  //----- 171
		{0, 0, 204, 255},      //----- 172
		{102, 102, 204, 255},  //----- 173
		{0, 0, 153, 255},      //----- 174
		{76, 76, 153, 255},    //----- 175
		{0, 0, 127, 255},      //----- 176
		{63, 63, 127, 255},    //----- 177
		{0, 0, 76, 255},       //----- 178
		{38, 38, 76, 255},     //----- 179
		{63, 0, 255, 255},     //----- 180
		{159, 127, 255, 255},  //----- 181
		{51, 0, 204, 255},     //----- 182
		{127, 102, 204, 255},  //----- 183
		{38, 0, 153, 255},     //----- 184
		{95, 76, 153, 255},    //----- 185
		{31, 0, 127, 255},     //----- 186
		{79, 63, 127, 255},    //----- 187
		{19, 0, 76, 255},      //----- 188
		{47, 38, 76, 255},     //----- 189
		{127, 0, 255, 255},    //----- 190
		{191, 127, 255, 255},  //----- 191
		{102, 0, 204, 255},    //----- 192
		{153, 102, 204, 255},  //----- 193
		{76, 0, 153, 255},     //----- 194
		{114, 76, 153, 255},   //----- 195
		{63, 0, 127, 255},     //----- 196
		{95, 63, 127, 255},    //----- 197
		{38, 0, 76, 255},      //----- 198
		{57, 38, 76, 255},     //----- 199
		{191, 0, 255, 255},    //----- 200
		{223, 127, 255, 255},  //----- 201
		{153, 0, 204, 255},    //----- 202
		{178, 102, 204, 255},  //----- 203
		{114, 0, 153, 255},    //----- 204
		{133, 76, 153, 255},   //----- 205
		{95, 0, 127, 255},     //----- 206
		{111, 63, 127, 255},   //----- 207
		{57, 0, 76, 255},      //----- 208
		{66, 38, 76, 255},     //----- 209
		{255, 0, 255, 255},    //----- 210
		{255, 127, 255, 255},  //----- 211
		{204, 0, 204, 255},    //----- 212
		{204, 102, 204, 255},  //----- 213
		{153, 0, 153, 255},    //----- 214
		{153, 76, 153, 255},   //----- 215
		{127, 0, 127, 255},    //----- 216
		{127, 63, 127, 255},   //----- 217
		{76, 0, 76, 255},      //----- 218
		{76, 38, 76, 255},     //----- 219
		{255, 0, 191, 255},    //----- 220
		{255, 127, 223, 255},  //----- 221
		{204, 0, 153, 255},    //----- 222
		{204, 102, 178, 255},  //----- 223
		{153, 0, 114, 255},    //----- 224
		{153, 76, 133, 255},   //----- 225
		{127, 0, 95, 255},     //----- 226
		{127, 63, 111, 255},   //----- 227
		{76, 0, 57, 255},      //----- 228
		{76, 38, 66, 255},     //----- 229
		{255, 0, 127, 255},    //----- 230
		{255, 127, 191, 255},  //----- 231
		{204, 0, 102, 255},    //----- 232
		{204, 102, 153, 255},  //----- 233
		{153, 0, 76, 255},     //----- 234
		{153, 76, 114, 255},   //----- 235
		{127, 0, 63, 255},     //----- 236
		{127, 63, 95, 255},    //----- 237
		{76, 0, 38, 255},      //----- 238
		{76, 38, 57, 255},     //----- 239
		{255, 0, 63, 255},     //----- 240
		{255, 127, 159, 255},  //----- 241
		{204, 0, 51, 255},     //----- 242
		{204, 102, 127, 255},  //----- 243
		{153, 0, 38, 255},     //----- 244
		{153, 76, 95, 255},    //----- 245
		{127, 0, 31, 255},     //----- 246
		{127, 63, 79, 255},    //----- 247
		{76, 0, 19, 255},      //----- 248
		{76, 38, 47, 255},     //----- 249
		{51, 51, 51, 255},     //----- 250
		{91, 91, 91, 255},     //----- 251
		{132, 132, 132, 255},  //----- 252
		{173, 173, 173, 255},  //----- 253
		{214, 214, 214, 255},  //----- 254
		{255, 255, 255, 255},  //----- 255
		{255, 255, 255, 255}  //----- ByLayer - White
	};

	// To use the AcPexCtl ActiveX object to marshal true color,
	// you must pass an IAcadAcCmColor dispatch pointer through, wrapped
	// in a variant.
	AcAxDocLock docLock(m_objRef.objectId(), AcAxDocLock::kNormal);
	if(docLock.lockStatus() != Acad::eOk &amp;amp;&amp;amp; docLock.lockStatus() != Acad::eNoDatabase)
		return E_ACCESSDENIED;
	AcAxObjectRefPtr&amp;lt;ClosedPolygon&amp;gt; obj(&amp;amp;m_objRef, AcDb::kForWrite);
	if (obj.openStatus() != Acad::eOk)
		return E_ACCESSDENIED; 

	CComQIPtr&amp;lt;IAcadAcCmColor&amp;gt; pColor;
	HRESULT hr = pColor.CoCreateInstance(CLSID_AcadAcCmColor);

	// Set the marshalling object
	pColor=var.pdispVal;

	AcCmEntityColor tbackcolor;
	long colorVal;
	pColor-&amp;gt;get_EntityColor(&amp;amp;colorVal);

	tbackcolor.setColor(colorVal);

	// color is by index - convert it to AcCmEntityColor !
	if (tbackcolor.isByACI())
	{
		//acutPrintf(_T("\nColor is by index. "));
		AcGsColor col; 
		col = AcadColors[tbackcolor.colorIndex()];
		tbackcolor.setRGB(col.m_red, col.m_green, col.m_blue);
	}

	obj-&amp;gt;ColorHatch(tbackcolor);

	Fire_Notification(DISPID_COLORHATCH);

	return S_OK;
}&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;in the .idl&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;	[propget, id(2), helpstring("Returns the truecolor of the hatch object.")] HRESULT ColorHatch([out, retval] VARIANT* pv);
        [propput, id(2), helpstring("Returns the truecolor of the hatch object.")] HRESULT ColorHatch([in] VARIANT var);&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;hope that will help somehow...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 20:25:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6785982#M9028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-05T20:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6786514#M9029</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;hope that will help somehow...&lt;/FONT&gt; &lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;It will be helpful but not for &lt;U&gt;dynamic&lt;/U&gt; property. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 00:21:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6786514#M9029</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2017-01-06T00:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6786573#M9030</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;thank you Alexander!, i see, have been out of this for a long time now. i tried &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Luis.-&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:07:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/6786573#M9030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-06T01:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12744948#M9031</link>
      <description>&lt;P&gt;I tried this yet it did not work.for my custom color property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 04:27:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12744948#M9031</guid>
      <dc:creator>KIMHENGHOR98</dc:creator>
      <dc:date>2024-05-01T04:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12745221#M9032</link>
      <description>&lt;P&gt;Would you share me a custom color property?&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 04:26:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12745221#M9032</guid>
      <dc:creator>KIMHENGHOR98</dc:creator>
      <dc:date>2024-05-01T04:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12745867#M9033</link>
      <description>&lt;P&gt;Here is an example for an custom entity (CCNCTextLine).&lt;/P&gt;&lt;P&gt;The color related functions are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STDMETHODIMP get_textColor(IAcadAcCmColor **pVal);&lt;BR /&gt;STDMETHODIMP put_textColor(IAcadAcCmColor *newVal);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards, Bernd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 12:33:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12745867#M9033</guid>
      <dc:creator>BerndCuder8196</dc:creator>
      <dc:date>2024-05-01T12:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Properties true color combobox</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12750266#M9034</link>
      <description>&lt;P&gt;I need dynamic property custom color&lt;span class="lia-unicode-emoji" title=":flushed_face:"&gt;😳&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 08:59:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dynamic-properties-true-color-combobox/m-p/12750266#M9034</guid>
      <dc:creator>KIMHENGHOR98</dc:creator>
      <dc:date>2024-05-03T08:59:45Z</dc:date>
    </item>
  </channel>
</rss>

