<?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: Why is the second menu item, a sub menu in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-is-the-second-menu-item-a-sub-menu/m-p/139527#M5759</link>
    <description>&lt;BLOCKQUOTE&gt;LesWoolsey wrote:&lt;BR /&gt;My resource looks like:&lt;BR /&gt;
'STR#' 32500 "Menu strings" {&lt;BR /&gt;
/* [   ] */ "ITI"&lt;BR /&gt;
/* [  1] */ "Import Updates^EL"&lt;BR /&gt;
/* [  2] */ "Lookup Element^EL"&lt;BR /&gt;
}&lt;BR /&gt;
I get a new menu on the menubar called "ITI", a submenu called "Import Updates^EL" and a menu item on the sub menu called :Lookup Element".&lt;/BLOCKQUOTE&gt;
Make a separate STR# resource for each menu:&lt;PRE&gt;'STR#' 32500  "First menu item" {
	/*[  ]*/	"ITI"
	/*[ 1]*/	"Import Updates^EL"
}


'STR#' 32501  "Second menu item" {
	/*[  ]*/	"ITI"
	/*[ 1]*/	"Lookup Element^EL"
}&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Apr 2013 22:10:18 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2013-04-23T22:10:18Z</dc:date>
    <item>
      <title>Why is the second menu item, a sub menu</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-is-the-second-menu-item-a-sub-menu/m-p/139526#M5758</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I don't understand what causes a string to be a sub menu rather than a menu item. My resource looks like:&lt;BR /&gt;&lt;BR /&gt;'STR#' 32500 "Menu strings" {&lt;BR /&gt;/* [ ] */ "ITI"&lt;BR /&gt;/* [ 1] */ "Import Updates^EL"&lt;BR /&gt;/* [ 2] */ "Lookup Element^EL"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;When I load this menu with:&lt;BR /&gt;&lt;BR /&gt;err = ACAPI_Register_Menu (32500, 32520, MenuCode_UserDef, MenuFlag_Default);&lt;BR /&gt;&lt;BR /&gt;I get a new menu on the menubar called "ITI", a submenu called "Import Updates^EL" and a menu item on the sub menu called :Lookup Element". What I want is "Import Updates" and "Lookup Element" to be menu items under the ITI menu.&lt;BR /&gt;&lt;BR /&gt;The documentation doesn't sya anything about how to do this, although it sort-of implies that indentation of the strings is the key. But that can't be right because mine are all indented the same.&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Aug 2023 12:43:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-is-the-second-menu-item-a-sub-menu/m-p/139526#M5758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-02T12:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the second menu item, a sub menu</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-is-the-second-menu-item-a-sub-menu/m-p/139527#M5759</link>
      <description>&lt;BLOCKQUOTE&gt;LesWoolsey wrote:&lt;BR /&gt;My resource looks like:&lt;BR /&gt;
'STR#' 32500 "Menu strings" {&lt;BR /&gt;
/* [   ] */ "ITI"&lt;BR /&gt;
/* [  1] */ "Import Updates^EL"&lt;BR /&gt;
/* [  2] */ "Lookup Element^EL"&lt;BR /&gt;
}&lt;BR /&gt;
I get a new menu on the menubar called "ITI", a submenu called "Import Updates^EL" and a menu item on the sub menu called :Lookup Element".&lt;/BLOCKQUOTE&gt;
Make a separate STR# resource for each menu:&lt;PRE&gt;'STR#' 32500  "First menu item" {
	/*[  ]*/	"ITI"
	/*[ 1]*/	"Import Updates^EL"
}


'STR#' 32501  "Second menu item" {
	/*[  ]*/	"ITI"
	/*[ 1]*/	"Lookup Element^EL"
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Apr 2013 22:10:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-is-the-second-menu-item-a-sub-menu/m-p/139527#M5759</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2013-04-23T22:10:18Z</dc:date>
    </item>
  </channel>
</rss>

