<?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: CAcUiLineWeightComboBox Owner Draw Problem in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6510462#M9833</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please test the attached sample?&amp;nbsp;&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="lineweight.png" style="width: 136px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/265185i40EFDE77C4D122F2/image-dimensions/136x136?v=v2" width="136" height="136" role="button" title="lineweight.png" alt="lineweight.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2016 10:35:49 GMT</pubDate>
    <dc:creator>Virupaksha_aithal</dc:creator>
    <dc:date>2016-08-19T10:35:49Z</dc:date>
    <item>
      <title>CAcUiLineWeightComboBox Owner Draw Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6474347#M9831</link>
      <description>&lt;P&gt;I'm using a combo derived from &lt;STRONG&gt;CAcUiLineWeightComboBox&lt;/STRONG&gt; on my MFC dialogs, but it seems to have problems re-drawing when the control doesn't have focus (it is generally blank until selected). I have the control set to "Owner Draw Fixed", "Has Strings" is true and I'm using the "Drop List" style. The lines and text draw correctly in the drop down, but the combo itself only draw intermittently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I turn off the owner draw or switch to "Dropdown" style the combo redraws correctly, but displays only the text. I need the drop-list style to 'enforce' a selection (and it would be nice to graphically display the weight).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this a known issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 22:17:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6474347#M9831</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-08-02T22:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: CAcUiLineWeightComboBox Owner Draw Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6474448#M9832</link>
      <description>&lt;P&gt;This similar issue suggests the class&amp;nbsp;is not processing WM_PAINT messages properly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/1658620/why-is-my-owner-drawn-combobox-shown-empty" target="_blank"&gt;http://stackoverflow.com/questions/1658620/why-is-my-owner-drawn-combobox-shown-empty&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 23:22:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6474448#M9832</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-08-02T23:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: CAcUiLineWeightComboBox Owner Draw Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6510462#M9833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please test the attached sample?&amp;nbsp;&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="lineweight.png" style="width: 136px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/265185i40EFDE77C4D122F2/image-dimensions/136x136?v=v2" width="136" height="136" role="button" title="lineweight.png" alt="lineweight.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 10:35:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6510462#M9833</guid>
      <dc:creator>Virupaksha_aithal</dc:creator>
      <dc:date>2016-08-19T10:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: CAcUiLineWeightComboBox Owner Draw Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6513594#M9834</link>
      <description>&lt;P&gt;Hi Viru,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks...yes that works. It seems using a derived combo was the problem - see attached project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I may just have neglected to override something necessary, but in the mean time I can switch to using "pure"&amp;nbsp;&lt;STRONG&gt;CAcUiLineWeightComboBox&lt;/STRONG&gt; members.&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>Mon, 22 Aug 2016 03:02:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/cacuilineweightcombobox-owner-draw-problem/m-p/6513594#M9834</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2016-08-22T03:02:56Z</dc:date>
    </item>
  </channel>
</rss>

