-
程序实现最基本的万年历功能。
显示画面式样如下:
Mon. Tues. Wed. Thurs. Fri. Sat. Sun.
1 2 3 4...
程序实现最基本的万年历功能。
显示画面式样如下:
Mon. Tues. Wed. Thurs. Fri. Sat. Sun.
1 2 3 4 5 6
7 8 9 10 11 12 13
…………
Please input year and month
画面要求说明:
1 显示某年某月的一个月内的月历。
2 周末的日期和星期标记用红色显示。
3 显示的日期右侧对齐。并且和星期也对期。
2.2 动作要求
程序默认显示2007年7月的月历,要求可以通过程序输入的方式指定显示年月。
其中年份控制在从1980到2100年之间,不符合要求重新输入。
输入年月后显示清屏,重新显示(要求原来的显示清除)。
按”Q”或”q”键退出程序。
-Procedures to achieve the most basic calendar functions. Display style as follows: Mon. Tues. Wed. Thurs. Fri. Sat. Sun. 1 2 3 4 5 67 8 9 10 11 12 13 ... ... ... ... Please input year and month screen requirements Description: 1 shows a certain period of within one month of the calendar. 2 over the weekend marking the date and week display in red. 3 shows the date right-aligned. And are also on the period of weeks. 2.2 shows the default action request procedure in July 2007 of the calendar, the demands, which can be imported through designated procedures show date. One year of control from the 1980-2100 years, do not meet the req
- 2022-09-02 09:40:03下载
- 积分:1
-
实时绘制曲线程序,非常漂亮的界面,可用于长时间数据采集等大数量数据可视化显示工程中。...
实时绘制曲线程序,非常漂亮的界面,可用于长时间数据采集等大数量数据可视化显示工程中。-the program is used to draw curves at real time with very beatiful window. It is very suitable to make great amount data visible on the window.
- 2022-03-04 22:53:28下载
- 积分:1
-
achieved in Palm keep pace with PC communications software source code!
在Palm上实现与PC保持同步通信的软件源码!-achieved in Palm keep pace with PC communications software source code!
- 2022-05-21 09:58:35下载
- 积分:1
-
This a net chatting tool, written by me, shiingore, using Sockets.
This a net chatting tool,written by me,shiingore,using Sockets,-This a net chatting tool, written by me, shiingore, using Sockets.
- 2022-04-02 04:21:54下载
- 积分:1
-
UCGUI+STM32+MP3
UCGUI+STM32+MP3,KEIL平台调试运行,界面包括音乐、图片、通讯、导航、设置、存储等功能
- 2023-05-23 11:05:03下载
- 积分:1
-
应用visual c++设计了状态栏,有比较好的效果
应用visual c++设计了状态栏,有比较好的效果-Application of visual c++ designed the status bar, there is relatively good results
- 2022-03-21 16:13:20下载
- 积分:1
-
自由独立的窗口方便MDI和SDI程序的创建
自由实现窗口分割,方便创建SDI和MDI程序-liberty separate window to facilitate the creation of MDI and SDI procedures
- 2023-01-13 10:30:04下载
- 积分:1
-
MFC创建进程、打开进程、终止进程
资源描述
创建进程、打开进程、终止进程
*两个函数 CreateProcess、openProcess、TerminateProcess
*获得进程句柄
*获得进程号
*提升进程权限
*Microsoft Spy++
操作平台:win10+vs2013 pro
操作步骤:
1、创建进程
PROCESS_INFORMATION pi;//进程信息结构
STARTUPINFO si;//启动信息结构
memset(&si, 0, sizeof(si));
si.cb = sizeof(si);
si.wShowWindow = SW_SHOW;
si.dwFlags = STARTF_USESHOWWINDOW;
TCHAR szPath[] = TEXT("c:windowssystem32
otepad.exe E:c++MFCa.txt");
BOOL bRet = ::CreateProcess(NULL, szPath, NULL, FALSE, NULL, NULL, NULL, NULL, &si, &pi);
int error = GetLastError();
if (bRet)
{
::CloseHandle(pi.hThread);
::CloseHandle(pi.hProcess);
AfxMessageBox(TEXT("创建进程成功"));
}
else
{
AfxMessageBox(TEXT("创建进程失败"));
}
2、打开进程
DWORD pid;
//若有指定窗口类和窗口名称则表示成功返回一个窗口的句柄
HWND hCalc = ::FindWindow(TEXT("Note
- 2022-03-25 15:36:01下载
- 积分:1
-
一个不错的矩形选择区域,可支持拖放
一个不错的矩形选择区域,可支持拖放-a good choice rectangular region can support drag-and-drop
- 2022-12-28 03:40:04下载
- 积分:1
-
VB小闹钟,主要涉及文本框控制,keypress事件,timer
VB小闹钟,主要涉及文本框控制,keypress事件,timer-VB small alarm clock, mainly related to the text box control, keypress, timer
- 2023-02-05 09:20:03下载
- 积分:1