avatar
文章
366
标签
89
分类
53
Home
Archives
Tags
Categories
Link
张拓的博客定时提醒的工具。可按 每小时、每天、每周定时响铃 返回首页
Home
Archives
Tags
Categories
Link

定时提醒的工具。可按 每小时、每天、每周定时响铃

发表于2019-12-16|更新于2023-04-11|c++mfc
|浏览量:

定时提醒的工具。可按 每小时、每天、每周定时响铃。

20191216164510324

代码:

链接: https://gitee.com/user.zt/Reminding

文章作者: 张拓
文章链接: http://www.xssl.online/20191216/deploy/2019-12-16-%E5%AE%9A%E6%97%B6%E6%8F%90%E9%86%92%E5%B7%A5%E5%85%B7/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 张拓的博客!
c++mfc
cover of previous post
上一篇
COleDateTime和COleDateTimeSpan和SYSTEMTIME
1、使用COleDateTime和COleDateTimeSpan类获取当月天数12345678910111213141516171819int GetThisMonthDays(){ COleDateTime time, nextMonth; SYSTEMTIME stLocal; GetLocalTime(&stLocal); time.GetAsSystemTime(stLocal); time.SetDateTime(time.GetYear(), time.GetMonth(), 1, 0, 0, 0); if (time.GetMonth() >= 12) { nextMonth.SetDateTime(time.GetYear() + 1, 1, 1, 0, 0, 0); } else { nextMonth.SetDateTime(time.GetYear(), time.GetMonth() + 1, 1, 0, 0, 0...
cover of next post
下一篇
std::list的sort方法
std::list::sort对容器中的元素进行排序sort默认使用operator < 比较元素来执行排序。123456789101112131415161718192021222324252627282930313233#include <iostream>#include <list>#include "test_list_sort.h"int main(){ std::list<test_list_sort> ltls; ltls.push_back(std::string("1")); ltls.push_back(std::string("2")); ltls.push_back(std::string("3")); ltls.push_back(std::string("11")); ltls.push_back(std::string("22")); l...
相关推荐
cover
2013-07-10
多选checkbox选中
查询条件较多,可以选择其中的1-n条, 设置chexk box 选中1((CButton*)(GetDlgItem(ID)))->SetCheck(TRUE);得到选中状态1((CButton*)(GetDlgItem(ID)))->GetCheck(); 要使 CComboBox 不自动排序 去掉styles->sort前面的勾 VC6.0下设置编辑框不可见将visable勾去掉
cover
2013-07-12
MFC加载位图和图标
从文件加载位图 1234567891011121314151617181920#pragma once // ZBitmap从文件加载位图资源class ZBitmap{private: HBITMAP m_hBitmap; CString m_FileName;public: ZBitmap(const char* pFileName); ZBitmap(); virtual ~ZBitmap();public: HBITMAP GetHandle(); BOOL LoadBitmapTo(const char* pFileName); private: // stop copy ZBitmap (const ZBitmap&); ZBitmap operator=(const ZBitmap&);}; 123456789101112131415161718192021222324252627282930313233343536373839404142434445#include "StdAfx.h"#include &q...
cover
2013-07-29
MFC选择文件存放路径
123456789101112131415161718192021222324BROWSEINFO bi; ZeroMemory(&bi,sizeof(BROWSEINFO)); //指定存放文件的默认文件夹路径 bi.ulFlags = BIF_RETURNONLYFSDIRS; bi.lpszTitle="选择文件存放路径"; //添加提示语句 LPMALLOC pMalloc; LPITEMIDLIST pidl = SHBrowseForFolder(&bi);//以默认路径打开浏览文件夹对话框 char szcSavePath[MAX_PATH]; CString szSavePath=""; if(pidl != NULL) { SHGetPathFromIDList(pidl, szcSavePath);//文件夹路径存放入szcSavePath中 szSavePath.Form...
cover
2013-07-30
MFC中导出excel表格
MFC中导出excel表格 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192_Application app; Workbooks books;_Workbook book;Worksheets sheets;_Worksheet sheet;Range range;Range xlsCells,xlsCol; COleVariant vResult;COleVariant covTrue((short)TRUE), covFalse((short)FALSE), covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR); //*****//创建Excel 2000服务器(启动Excel)if(!app.Create...
cover
2013-07-31
MFC中初始化opengl的类3D视图
123456789101112131415161718192021222324252627282930313233343536#pragma once class InitOpenGL3D{public: InitOpenGL3D(void); virtual ~InitOpenGL3D(void);public: // 在OnCreate函数中调用此函数: int InitOpenGL3D::OnCreate(LPCREATESTRUCT lpCreateStruct, CClientDC* pDC); // 在Ondestroy()中调用 void InitOpenGL3D::OnDestroy(); // 在OnSize()调用 void InitOpenGL3D::OnSize(UINT nType, int cx, int cy); // 在OnPaint()中调用,窗口框架重绘 void InitOpenGL3D::OnPaint();private: // InitOpenGL3D 消息处...
cover
2013-08-02
MFC窗口透明
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758// 在OnCreate()或OnInitDialog()加入以下代码 SetWindowLong(this->GetSafeHwnd() , GWL_EXSTYLE, GetWindowLong(this->GetSafeHwnd() , GWL_EXSTYLE)|WS_EX_LAYERED); SetLayeredWindowAttributes(RGB(0, 0, 0), 125, 0x2/*0x1 | 0x2*/); // SetWindowLong是一个Windows API函数。该函数用来改变指定窗口的属性。 LONG SetWindowLong(HWND hWnd, // handle to windowint nlndex, ...
avatar
张拓
多情自古空余恨,好梦由来最易醒
文章
366
标签
89
分类
53
Follow Me
公告
每天都有一个好心情
目录
  1. 1. 定时提醒的工具。可按 每小时、每天、每周定时响铃。
最新文章
windows编译libtorrent
windows编译libtorrent2024-05-23
windows编译boost
windows编译boost2024-05-08
vscode远程调试linux
vscode远程调试linux2023-12-21
linux服务检查进程
linux服务检查进程2023-12-01
ubuntu配置vnc服务
ubuntu配置vnc服务2023-11-03
© 2020 - 2025 By 张拓
京ICP备2022021138号-2