⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_c_help_example_app_ui.html

📁 应用于S60平台的示例程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</pre></div><p>    </td>  </tr></table><a class="anchor" name="a682d228622cea7790645ce10f591242"></a><!-- doxytag: member="CHelpExampleAppUi::HandleCommandL" ref="a682d228622cea7790645ce10f591242" args="(TInt aCommand)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void CHelpExampleAppUi::HandleCommandL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TInt&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aCommand</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_help_example_app_ui.html#a682d228622cea7790645ce10f591242">HandleCommandL()</a> Handle user menu selections <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aCommand</em>&nbsp;</td><td>The enumerated code for the option selected </td></tr>  </table></dl><p>Definition at line <a class="el" href="helpexampleappui_8cpp-source.html#l00073">73</a> of file <a class="el" href="helpexampleappui_8cpp-source.html">helpexampleappui.cpp</a>.<p>References <a class="el" href="helpfulform_8cpp-source.html#l00033">CHelpfulForm::NewL()</a>.<div class="fragment"><pre class="fragment"><a name="l00074"></a>00074     {<a name="l00075"></a>00075     <span class="keywordflow">switch</span> ( aCommand )<a name="l00076"></a>00076         {<a name="l00077"></a>00077         <span class="keywordflow">case</span> EEikCmdExit:<a name="l00078"></a>00078         <span class="keywordflow">case</span> EAknSoftkeyExit:<a name="l00079"></a>00079             Exit();<a name="l00080"></a>00080             <span class="keywordflow">break</span>;<a name="l00081"></a>00081 <a name="l00082"></a>00082         <span class="keywordflow">case</span> EShowHelpfulDialog:<a name="l00083"></a>00083             {<a name="l00084"></a>00084             <a class="code" href="class_c_helpful_form.html">CHelpfulForm</a>* dlg = <a class="code" href="class_c_helpful_form.html#23888945de0fdf30c3849bc1024e5283">CHelpfulForm::NewL</a>( R_FORM_MENUBAR );<a name="l00085"></a>00085             dlg-&gt;ExecuteLD( R_HELPFUL_DIALOG );<a name="l00086"></a>00086             }<a name="l00087"></a>00087             <span class="keywordflow">break</span>;<a name="l00088"></a>00088 <a name="l00089"></a>00089         <span class="keywordflow">case</span> ELaunchHelpForContext:<a name="l00090"></a>00090             {<a name="l00091"></a>00091             CArrayFix &lt;TCoeHelpContext&gt;* buf = CCoeAppUi::AppHelpContextL();<a name="l00092"></a>00092             HlpLauncher::LaunchHelpApplicationL( iEikonEnv-&gt;WsSession(), buf );<a name="l00093"></a>00093             }<a name="l00094"></a>00094             <span class="keywordflow">break</span>;<a name="l00095"></a>00095 <a name="l00096"></a>00096         <span class="keywordflow">default</span>:<a name="l00097"></a>00097             Panic ( EHelpExampleBasicUi );<a name="l00098"></a>00098             <span class="keywordflow">break</span>;<a name="l00099"></a>00099         }<a name="l00100"></a>00100     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="11eeaab9e8b54af05171d9f63abaf4cf"></a><!-- doxytag: member="CHelpExampleAppUi::HelpContextL" ref="11eeaab9e8b54af05171d9f63abaf4cf" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">CArrayFix&lt; TCoeHelpContext &gt; * CHelpExampleAppUi::HelpContextL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_help_example_app_ui.html#11eeaab9e8b54af05171d9f63abaf4cf">HelpContextL()</a> Return the help context for this application <dl compact><dt><b>Returns:</b></dt><dd>A pointer to the help context </dd></dl><p>Definition at line <a class="el" href="helpexampleappui_8cpp-source.html#l00107">107</a> of file <a class="el" href="helpexampleappui_8cpp-source.html">helpexampleappui.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00108"></a>00108     {<a name="l00109"></a>00109     CArrayFixFlat &lt;TCoeHelpContext&gt;* array =<a name="l00110"></a>00110                 <span class="keyword">new</span> ( ELeave )CArrayFixFlat &lt;TCoeHelpContext&gt; ( 1 );<a name="l00111"></a>00111     CleanupStack::PushL( array );<a name="l00112"></a>00112     array-&gt;AppendL( TCoeHelpContext( KUidHelpFile, KContextApplication ) );<a name="l00113"></a>00113     CleanupStack::Pop( array );<a name="l00114"></a>00114     <span class="keywordflow">return</span> array;<a name="l00115"></a>00115     }</pre></div><p>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="45dd0a3e0e75e56b4727a01a8ef2c6b1"></a><!-- doxytag: member="CHelpExampleAppUi::iAppView" ref="45dd0a3e0e75e56b4727a01a8ef2c6b1" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="class_c_help_example_app_view.html">CHelpExampleAppView</a>* <a class="el" href="class_c_help_example_app_ui.html#45dd0a3e0e75e56b4727a01a8ef2c6b1">CHelpExampleAppUi::iAppView</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iAppView The application view Owned by CHelpExampleAppUi <p>Definition at line <a class="el" href="helpexampleappui_8h-source.html#l00083">83</a> of file <a class="el" href="helpexampleappui_8h-source.html">helpexampleappui.h</a>.<p>Referenced by <a class="el" href="helpexampleappui_8cpp-source.html#l00036">ConstructL()</a>, and <a class="el" href="helpexampleappui_8cpp-source.html#l00058">~CHelpExampleAppUi()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="helpexampleappui_8h-source.html">helpexampleappui.h</a><li><a class="el" href="helpexampleappui_8cpp-source.html">helpexampleappui.cpp</a></ul><hr><table x-use-null-cells		style="x-cell-content-align: top;				width: 100%;				border-spacing: 0px;				border-spacing: 0px;"		cellspacing=0		width=100%>  <col style="width: 50%;">  <col style="width: 50%;">  <tr style="x-cell-content-align: top;"	valign=top>  <td style="width: 50%;			padding-right: 10px;			padding-left: 10px;			border-right-style: None;			border-left-style: None;			border-top-style: None;			border-bottom-style: None;"	width=50%>  <p style="font-family: Arial;"><small style="font-size: smaller;">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -