<?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 [SOLVED] DGSplitButtonGetSelectedItem? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DGSplitButtonGetSelectedItem/m-p/277803#M5021</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;I created a button of sub-type &lt;FONT color="gray"&gt;DG_BT_SPLIT&lt;/FONT&gt; and tried to get the selected item.&lt;BR /&gt;&lt;BR /&gt;In dialog class, you can do this by creating a callback function for &lt;FONT color="gray"&gt;SplitButtonPopupChanged&lt;/FONT&gt; and get the selected item by calling &lt;FONT color="gray"&gt;SplitButton-&amp;gt;GetSelectedItem()&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;But I am doing this using the Dialog Manager and I can't find the equivalent function of &lt;FONT color="gray"&gt;SplitButton-&amp;gt;GetSelectedItem()&lt;/FONT&gt;. Since the message data is always zero, I presumed it was &lt;FONT color="gray"&gt;DGSplitButtonGetSelectedItem()&lt;/FONT&gt;, but I was wrong.&lt;/DIV&gt;</description>
    <pubDate>Wed, 12 Jul 2023 19:08:52 GMT</pubDate>
    <dc:creator>ReignBough</dc:creator>
    <dc:date>2023-07-12T19:08:52Z</dc:date>
    <item>
      <title>[SOLVED] DGSplitButtonGetSelectedItem?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DGSplitButtonGetSelectedItem/m-p/277803#M5021</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I created a button of sub-type &lt;FONT color="gray"&gt;DG_BT_SPLIT&lt;/FONT&gt; and tried to get the selected item.&lt;BR /&gt;&lt;BR /&gt;In dialog class, you can do this by creating a callback function for &lt;FONT color="gray"&gt;SplitButtonPopupChanged&lt;/FONT&gt; and get the selected item by calling &lt;FONT color="gray"&gt;SplitButton-&amp;gt;GetSelectedItem()&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;But I am doing this using the Dialog Manager and I can't find the equivalent function of &lt;FONT color="gray"&gt;SplitButton-&amp;gt;GetSelectedItem()&lt;/FONT&gt;. Since the message data is always zero, I presumed it was &lt;FONT color="gray"&gt;DGSplitButtonGetSelectedItem()&lt;/FONT&gt;, but I was wrong.&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Jul 2023 19:08:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DGSplitButtonGetSelectedItem/m-p/277803#M5021</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2023-07-12T19:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: DGSplitButtonGetSelectedItem?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DGSplitButtonGetSelectedItem/m-p/277804#M5022</link>
      <description>Found it. One should use &lt;FONT color="gray"&gt;DGPopUpGetSelected()&lt;/FONT&gt; for this.</description>
      <pubDate>Wed, 20 Apr 2016 02:23:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DGSplitButtonGetSelectedItem/m-p/277804#M5022</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2016-04-20T02:23:24Z</dc:date>
    </item>
  </channel>
</rss>

