?? stopping.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>
<b><u>Stopping the Timer</u></b>
<p>
To stop the timer, issue the <i><b>KillTimer</b></i> command:
<p>
<ul>
<i>t-result</i><b> = KillTimer (</b><i>t-number</i><b>);</b>
</ul>
<p>
<b><i>where:</i></b>
<p>
<ul>
<table>
<tr>
<td><i>t-number</i>
<td>The system timer number from either the SetTimer or OnTimer methods.
<tr>
<td><i>t-result</i>
<td>The boolean result of the operation, TRUE indicating success.
</table>
</ul>
<p>
<b>For Example:</b>
<p>
<ul>
<pre>
BOOL StopTimer (UINT TimerVal)
{
//
// Stop the timer
//
if (!KillTimer (TimerVal))
{
return FALSE;
}
//
// Place clean-up code following this point.
//
return TRUE;
} // end StopTimer
</pre>
</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>
</p><br></font></body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -