📄 slide006.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="blendTrans(Duration=2)" http-equiv="Page-Enter">
<title>Big C++: Chptr. 27 -- Graphical User Interfaces</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="2005 John Wiley & Sons">
<meta name="Author" content="Kurt Schmidt">
</head>
<body>
<div onclick="document.location='slide007.html'">
<h2><font color='#009999'>27.2 Frames (cont.)</font></h2>
<ul>
<li><font size="+1">Note that the names in wxWindows (such as <tt>OnInit</tt>
and <tt>Show</tt>) do not follow the same style guidelines as the text.</font></li>
<li><font size="+1">Two preprocessor macros carry out some magic that the framework
needs to make an application out of the <tt>BasicApp</tt> class.
<blockquote>
<pre>DECLARE_APP(BasicAPP)
IMPLEMENT_APP(BasicAPP)</pre>
</blockquote>
</font></li>
<li><font size="+1">If you distribute the code into separate files </font>
<ul>
<li><font size="+1">place <tt>DECLARE_APP</tt> in the <tt>.h</tt> file</font></li>
<li><font size="+1">place <tt>IMPLEMENT_APP</tt> in the <tt>.cpp</tt> file</font></li>
</ul>
</li>
<li><font size="+1">The wxWindows toolkit supplies an <i>application</i> <i>framework</i>
- several base classes from which programmers derive classes to specify the
behavior of their application.</font></li>
<li><font size="+1">The application framework does complex work to interface
with the operating system, but the programmer is insulated from these technical
details. </font> </li>
<li><font size="+1">The instructions for compiling a wxWindows program differs
quite a bit depending on compiler and platform.</font></li>
</ul>
<hr>
<center><small>
<a href='slide005.html'>prev</a>
|<a href='slide001.html'>top</a>
|<a href='slide007.html'>next</a>
</small></center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -