📄 classfg__object.html
字号:
</table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>得到本类的消息映射表指针 <p>虚函数,派生类覆盖该函数,来返回自己的消息映射表指针,通过宏<a class="el" href="group__MsgMap__Define.html#ga1">BEGIN_MESSAGE_MAP</a>生成 <dl compact><dt><b>返回:</b></dt><dd>本类的消息映射表指针 </dd></dl><p>被<a class="el" href="classMainWindow.html#b7">MainWindow</a>、<a class="el" href="classMyButton.html#b1">MyButton</a>、<a class="el" href="classWin1.html#b5">Win1</a>、<a class="el" href="classWin2.html#b2">Win2</a>、<a class="el" href="classFG__Bitmap.html#b1">FG_Bitmap</a>、<a class="el" href="classFG__Button.html#b6">FG_Button</a>、<a class="el" href="classFG__CheckBox.html#b3">FG_CheckBox</a>、<a class="el" href="classFG__Container.html#b3">FG_Container</a>、<a class="el" href="classFG__Edit.html#b5">FG_Edit</a>、<a class="el" href="classFG__Group.html#b1">FG_Group</a>、<a class="el" href="classFG__Label.html#b1">FG_Label</a>、<a class="el" href="classFG__RadioButton.html#b3">FG_RadioButton</a>、<a class="el" href="classFG__Screen.html#b5">FG_Screen</a>、<a class="el" href="classFG__TextWidget.html#b0">FG_TextWidget</a>、<a class="el" href="classFG__Widget.html#b0">FG_Widget</a>及<a class="el" href="classFG__Window.html#b5">FG_Window</a>重载。<p>在文件<a class="el" href="FG__Object_8cpp-source.html">FG_Object.cpp</a>第<a class="el" href="FG__Object_8cpp-source.html#l00056">56</a>行定义。<p>参考 <a class="el" href="FG__Object_8cpp-source.html#l00046">m_MsgMap</a>.<p>参考自 <a class="el" href="FG__Object_8cpp-source.html#l00170">Message()</a>. </td> </tr></table><a class="anchor" name="a10" doxytag="FG_Object::ID" ></a><p><table class="mdTable" width="100%" 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="group__Utility.html#ga1">WORD</a> FG_Object::ID </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>得到窗口元素的唯一标识值 <p><dl compact><dt><b>返回:</b></dt><dd>本窗口元素的唯一标识值 </dd></dl><p>在文件<a class="el" href="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00146">146</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Object_8cpp-source.html#l00230">NotifyParent()</a>. </td> </tr></table><a class="anchor" name="a9" doxytag="FG_Object::ID" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void FG_Object::ID </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__Utility.html#ga1">WORD</a> </td> <td class="mdname1" valign="top" nowrap> <em>wID</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>设置窗口元素的唯一标识值. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>wID</em> </td><td>唯一标识值 </td></tr> </table></dl><p>在文件<a class="el" href="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00139">139</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Object_8h-source.html#l00357">FG_CheckObjectID::FindIt()</a>. </td> </tr></table><a class="anchor" name="a4" doxytag="FG_Object::IsContains" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool FG_Object::IsContains </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structFG__Point.html">FG_Point</a> </td> <td class="mdname1" valign="top" nowrap> <em>Test</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>判断某一个像素点是否在本窗口元素中. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Test</em> </td><td>被测试的像素点 </td></tr> </table></dl><dl compact><dt><b>返回:</b></dt><dd>true 表示像素点在本窗口元素中 false 表示像素点不在本窗口元素中 </dd></dl><p>在文件<a class="el" href="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00104">104</a>行定义。<p>参考 <a class="el" href="FG__Rect_8cpp-source.html#l00043">FG_Rect::Contains()</a>及<a class="el" href="FG__Object_8h-source.html#l00285">m_Rect</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Object_a4_cgraph.png" border="0" usemap="#classFG__Object_a4_cgraph_map" alt=""></center><map name="classFG__Object_a4_cgraph_map"><area href="structFG__Rect.html#a4" shape="rect" coords="208,7,325,33" alt=""></map><a class="anchor" name="a19" doxytag="FG_Object::IsFocus" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool FG_Object::IsFocus </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>该窗口元素是否为当前焦点窗口元素 <p><ul><li>对于窗口,焦点窗口指最上面的窗口</li><li>对于控件,焦点控件指当前接受输入的控件 </li></ul><p>在文件<a class="el" href="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00217">217</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00108">GS_FOCUS</a>及<a class="el" href="FG__Object_8h-source.html#l00288">m_wStyle</a>.<p>参考自 <a class="el" href="FG__TextWidget_8cpp-source.html#l00046">FG_TextWidget::DrawTextFocus()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00145">FG_Edit::OnCursorTimer()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00073">FG_Edit::OnDraw()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>及<a class="el" href="FG__Window_8cpp-source.html#l00173">FG_Window::OnDrawRequest()</a>. </td> </tr></table><a class="anchor" name="b1" doxytag="FG_Object::KillTimer" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool FG_Object::KillTimer </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__Utility.html#ga0">BYTE</a> </td> <td class="mdname1" valign="top" nowrap> <em>timerID</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>删除当前窗口元素的定时器. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>timerID</em> </td><td>定时器的唯一标识(对于当前窗口元素唯一) </td></tr> </table></dl><dl compact><dt><b>返回:</b></dt><dd>定时器是否成功删除 true 成功 false 失败 </dd></dl>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -