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

📄 index.html

📁 定时器 的源代码 比较简单 简易使用MFC中的定时器
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"       content="text/html;       charset=iso-8859-1">
<meta name="GENERATOR" content="/www/htdocs/earthwalkdesigns//earcgi/EWDHtml.cgi">
<!--                                                       -->
<!--      *******************************************      -->
<!--      *                                         *      -->
<!--      * EarthWalk Designs Programming Services. *      -->
<!--      *        WWW.EarthWalkDesigns.Com         *      -->
<!--      *                                         *      -->
<!--      *  Jay Wheeler (Jay@EarthWalkDesigns.com) *      -->
<!--      *              December 1997              *      -->
<!--      *                                         *      -->
<!--      *******************************************      -->
<!--                                                       -->
<!-- This page was designed by Jay Wheeler. -->
<title>MFC Timers - A Tutorial</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#990033" vlink="#333399" alink="#ff0000">
<font size=" 3 " face=" Century Schoolbook ">
<center>
<a href="http://www.earthwalkdesigns.com"><img src="EarthWalk.gif" border="0" align="center" ></a>
<br>
<font size="+2">
<b>MFC Timers - A Tutorial
</b></font>
<br>
<img src="Colorbar.gif" border="0" align="center" ><br>
</center>
<p>
<b><u>Timer Events in MFC Applications</u></b>
<p>

Event timers are always handy to have around and useful in nearly every project.  When a
timer is readily available, such as the Timer control in Visual Basic, you find all kinds
of reasons to use one in an application.  The lack of a timer object in MFC is a 
serious oversight. 
<p>
Luckily, Microsoft Windows NT/95 systems provide a number of timers for use by 
application programs.  This tutorial provides information on how to install timers 
in your MFC application, and how to start, process and stop the timers.  
<p>
In the final section of the tutorial, we develope a simple timer project which is capable 
of rough animation of an icon in the dialog window. This project is useful in any 
compute or I/O bound application, and illustrates the techniques involved with 
installing and using a system timer.
<p>
These steps were developed and tested on a WindowsNT 4.0 workstation and 
Windows95 using VisualC++ 4.2 with Microsoft Foundation Classes.
<p>
<ul>
  <a href="Install.html">Installing a Timer</a>
  <br>
  <a href="Starting.html">Starting a Timer</a>
  <br>
  <a href="Stopping.html">Stopping a Timer</a>
  <br>
  <a href="Processing.html">Processing a Timer Event</a>
  <br>
  <a href="Program.html">Timer Application</a>
  <br>
</ul>


<p>
<center>
<img src="Colorbar.gif" border="0" align="center" ><br>
</center>
<font size="-1">
Copyright (c) 1997,1998. EarthWalk Designs.
<br>
Direct all inquiries to:<a href="mailto:jay@earthwalkdesigns.com">Jay Wheeler</a>
at EarthWalkDesigns.com
</font>
<br></font></body>
</html>

⌨️ 快捷键说明

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