# UITPTimer
**Repository Path**: lzlong88/UiTpTimer
## Basic Information
- **Project Name**: UITPTimer
- **Description**: UI线程以及win系统线程池的Timer简单封装
- **Primary Language**: C++
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-07-05
- **Last Updated**: 2024-07-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# UITPTimer
#### 介绍
UI线程以及win系统线程池的Timer简单封装
#### 软件架构
c++代码采用模版类编写,采用萃取(Traits)类编写。封装类简单易用。
#### 程序运行效果展示

#### 参与贡献
1. 该代码全部是本人在工作中编写的,代码仅供学习和个人代码展示,不能用于商业目的。
#### 部分代码截取
//-------------------------------------------------------
// Copyright (c)
// All rights reserved.
//
// File Name: CTimer.h
// File Des: timer封装
// File Summary:
/* CUITimer UiTimer;
CTPTimer TpTimer;
UiTimer.SetTimer((HWND)hwnd1, WM_TIME1, 1500, &cb);
UiTimer.KillTimer((HWND)hwnd1, WM_TIME1);
TpTimer.SetTimer((HWND)hwnd2, WM_TIME2, 1000, &cb);
TpTimer.KillTimer((HWND)hwnd2, WM_TIME2);
TpTimer.SetTimer(WM_TIME1, 1000, &Timer_CallBack, this);
TpTimer.SetTimer(1000, &Timer_CallBack, this);
*/
// Cur Version: 1.0
// Author:
// Create Data:2024-4-02
// History:
//