📄 slide004.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='slide005.html'">
<h2><font color='#009999'>27.2 Frames</font></h2>
<ul>
<li><font size="+1">To get started with wxWindows, we will write a very simple
program that simply puts up a frame, a window with the typical decorations
that the windowing system provides.</font></li>
<li><font size="+1">The icons for minimizing or closing the window (etc.) vary
from system to system, but are not important to our discussion.</font></li>
<li><font size="+1">To use the wzWindows toolkit in your program, you need to
include the header file <tt>wx/w.h</tt>.</font></li>
<li><font size="+1">To the define a class that contains details about the workings
of your application.
<blockquote>
<pre>class BasicApp: public wxApp
{
public:
BasicApp();
virtual bool OnInit(); /* override base class implementation */
private:
wxFrame* frame; /* this application has a frame */
};</pre>
</blockquote></font></li>
</ul>
<hr>
<center><small>
<a href='slide003.html'>prev</a>
|<a href='slide001.html'>top</a>
|<a href='slide005.html'>next</a>
</small></center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -