<?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>Kinetis MicrocontrollersのトピックD4D Nested Menu Failure</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/D4D-Nested-Menu-Failure/m-p/188684#M2102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I built an app that uses nested menus, but they only work the first try, then fail to pop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Menus that exit by the X or by calling D4D_EscapeScreen(), as in the example, work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a menu calls another screen with a menu, and when all exits follow the X or D4D_EscapeScreen(), they also work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if a nested menu directly calls the main screen with D4D_ActivateScreen (D4D_TRUE), the next use of the menus fails to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to unwind the history by calling D4D_EscapeScreen() twice, and this works. For example, if in the callback of the second menu:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D4D_EscapeScreen();&lt;/P&gt;&lt;P&gt;D4D_EscapeScreen();&lt;/P&gt;&lt;P&gt;D4D_ActivateScreen(..., D4D_TRUE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this causes some screen flicker as the previous menu paints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a proper way to leave a nested menu that does not break the following use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 07:18:09 GMT</pubDate>
    <dc:creator>MikeJones</dc:creator>
    <dc:date>2012-08-14T07:18:09Z</dc:date>
    <item>
      <title>D4D Nested Menu Failure</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/D4D-Nested-Menu-Failure/m-p/188684#M2102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I built an app that uses nested menus, but they only work the first try, then fail to pop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Menus that exit by the X or by calling D4D_EscapeScreen(), as in the example, work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a menu calls another screen with a menu, and when all exits follow the X or D4D_EscapeScreen(), they also work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if a nested menu directly calls the main screen with D4D_ActivateScreen (D4D_TRUE), the next use of the menus fails to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to unwind the history by calling D4D_EscapeScreen() twice, and this works. For example, if in the callback of the second menu:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D4D_EscapeScreen();&lt;/P&gt;&lt;P&gt;D4D_EscapeScreen();&lt;/P&gt;&lt;P&gt;D4D_ActivateScreen(..., D4D_TRUE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this causes some screen flicker as the previous menu paints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a proper way to leave a nested menu that does not break the following use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 07:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/D4D-Nested-Menu-Failure/m-p/188684#M2102</guid>
      <dc:creator>MikeJones</dc:creator>
      <dc:date>2012-08-14T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: D4D Nested Menu Failure</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/D4D-Nested-Menu-Failure/m-p/188685#M2103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;there is two possible way how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;First one is: Create all menu screen with "replacescreen in history" parameter set to D4D_TRUE when you call the D4D_ActivateScreen. And each D4D_EscapeScreen &amp;nbsp;jump to screen from where you call the first menu screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or new eGUI 3.00 brings new function&amp;nbsp;D4D_EscapeToBaseScreen() and this function clears complete screen history and activate automatically the first one screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the release candidate of new eGUI send me the private message with description of your project and email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Gargy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:56:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/D4D-Nested-Menu-Failure/m-p/188685#M2103</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2012-08-14T14:56:28Z</dc:date>
    </item>
  </channel>
</rss>

