代码搜索:OnTimer
找到约 179 项符合「OnTimer」的源代码
代码结果 179
www.eeworm.com/read/189148/8488589
cpp initdialog.cpp
// InitDialog.cpp : implementation file
//
#include "stdafx.h"
#include "Msg.h"
#include "InitDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE_
www.eeworm.com/read/373671/9444171
dfm datamoduleunit.dfm
object DM: TDM
OldCreateOrder = False
Left = 86
Top = 68
Height = 277
Width = 251
object DBTimer1: TTimer
Enabled = False
OnTimer = DBTimer1Timer
Left = 32
Top =
www.eeworm.com/read/418205/10959133
txt 09.3.2 定时器的处理.txt
9.3.2 定时器的处理
接下来设置定时器。本例设置间隔 1000毫秒触发一次定时器消息,因此,在
CMainFrame类的 OnCreate函数中添加如例如9所示代码中加灰显示的那行代码。例 9-9
int CMainFrarne : :OnCreate(LPCREATESTRUCT lpCreateStruct)
{
// TODO : Delete these three
www.eeworm.com/read/308301/13704701
txt 脚本命令.txt
变量说明:
1、 自定义变量不能以D P G I M字母开头
2、 自定义变量不区分大小写
使用方法:
假设存在自定义变量xy xz
判断函数
EQUAL 是否相等 如:
#if
EQUAL d0 xy
#say
d0和xy相等
#if
EQUAL d0 10
www.eeworm.com/read/430984/8714914
h funcdef.h
// --- init.c ---------------------------------------
void SystemInit();
void Timer0_Init ();
void PWMInit ();
void PWM_onTimer1_Init ();
void InitUART1();
// --- driver.c ----------------------
www.eeworm.com/read/278715/10514526
timer1˵
1:在头文件*.h中定义一个非零的定时器句柄:
int timer1;
2:在*.cpp文件的构造函数中初始化句柄:
timer1=1;
3:首先调用函数SetTimer()设置定时间隔
void CMulti_TimerDlg::OnButtonTime1()
{
int iInstallReFlag;
iInstallReFlag=SetTimer(timer
www.eeworm.com/read/418205/10958962
txt 05.4.2 字幕变色功能的实现.txt
5.4.2 字幕变色功能的实现
读者平时在唱卡拉 OK时,应该注意到歌曲字幕会随着曲调的播放而有一个平滑的变色过程。如何在程序中实现这种效果呢?如果我们先把字符串输出到屏幕上,接着把文本的颜色设置为新的颜色,然后一个字符一个字符地输出显示该字符串,也可以达到一种变色效果,但不能达到平滑的变色效果。为了达到卡拉 OK字幕那样平滑的变色效果,我们需要利用 CDC类提供的另一个输出文字的函数: Dra ...
www.eeworm.com/read/400783/11568515
cpp hlink.cpp
// Hlink.cpp : implementation file
//
#include "stdafx.h"
#include "Hlink.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////
www.eeworm.com/read/268544/11135751
txt npc_wizard.txt
//==============================================
// 巫师转职任务
// 代码重写 & 修正 by FPE (2006.7.16)
// Jathena++ 论坛:http://www.foxofice.net/bbs
//----------------------------------------------
gef_tower
www.eeworm.com/read/113785/15447905
txt timer1说明.txt
1:在头文件*.h中定义一个非零的定时器句柄:
int timer1;
2:在*.cpp文件的构造函数中初始化句柄:
timer1=1;
3:首先调用函数SetTimer()设置定时间隔
void CMulti_TimerDlg::OnButtonTime1()
{
int iInstallReFlag;
iInstallReFlag=SetTimer(timer