![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
吃不起饭的小陈
这个作者很懒,什么都没留下…
展开
-
MFC Windows 程序设计实验 --- Edit Boxes
1 实验描述:create edit boxes and realize the operation like addition, subtraction, multiplication and division.2 同上一篇文章,新建一个项目工程。3 同上一篇文章,向资源文件 Diglog 中添加题目要求的控件。4 同上一篇文章,为类成员添加类型。5 同上一篇文章,为每个控件添加函数。如下图,为实现Addition功能的函数:6 结果如下图:...原创 2020-05-14 14:47:30 · 205 阅读 · 0 评论 -
MFC Windows 程序设计实验--- Computation of score based on the score and the weight
1 实验描述:Design a program by using MFC AppWizard to realize the computation of score based on the score and the weight.2 创建MFC工程项目(VC++6.0):选择 MFC AppWizard(exe) --> 填入工程名称 --> 点击“确定” --> 选择“基本对话框” --> 点击“完成”创建成功后,资源文件包括以下几部分:2 向资源文件 Diglog原创 2020-05-14 11:34:20 · 239 阅读 · 0 评论 -
MFC Windows 程序设计---Hello MFC!
1 源代码如下 :HelloMFC.h原创 2020-05-07 11:31:16 · 384 阅读 · 0 评论 -
Windows程序设计实验---Windows API Programming 2
实验描述:1 . Create a menu which includes three menu items: File, Calculate andHelp.1.2 When the Draw(G) menu item of the File(F) menu is clicked, thefigure is drawn as shown below.1.3 And when t...原创 2020-04-23 11:30:00 · 276 阅读 · 0 评论 -
Windows程序设计实验---Design a menu drawing Circle and Rectangle
实验描述:When select DRAW CIRCLR/DRAW RANCTANGLE and then press the right/left/up/down arrow on the keyboard, the size of the CIRCLE/RANCTANGLE will change accordingly. (选择画圆或画矩形,然后点击键盘上的 ↑ ↓ ← →改变其...原创 2020-04-16 11:15:08 · 395 阅读 · 2 评论 -
Windows程序设计实验---BOUNCING BALL
实验描述:Design a program to realize the bouncing ball.源代码如下:#include <windows.h>#define ID_TIMER 1 LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain(HINSTANCE hInst...原创 2020-04-14 00:50:01 · 333 阅读 · 1 评论 -
Windows程序设计实验---BITMAP
实验描述:Design a program to realize the application of bitmap resource.Load a bitmap (you can use can bitmap download from the Internet) to the center of the window and the size of the bitmap should b...原创 2020-04-13 00:37:56 · 354 阅读 · 0 评论 -
Windows程序设计实验---Menu and Dialog
实验描述:Design a program to realize the application of menu and dialog box.源代码如下:#include <windows.h>#define IDE_SHOW 301#define IDE_HIDE 302#define IDE_EXIT 303HMENU hMenu =CreateMenu();...原创 2020-04-12 23:19:14 · 141 阅读 · 0 评论 -
Windows程序设计第五版源代码---MENUDEMO
源代码如下:.c 文件如下:#include <windows.h>#include "resource.h"#define ID_TIMER 1LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);TCHAR szAppName[] = TEXT ("MenuDemo");int WINAPI WinMain(H...原创 2020-04-09 22:39:02 · 378 阅读 · 0 评论 -
Windows程序设计第五版源代码---BTNLOOK
源代码如下:#include <windows.h>struct{ int iStyle; TCHAR * szText;}button[] = { BS_PUSHBUTTON, TEXT("PUSHBUTTON"), BS_DEFPUSHBUTTON, TEXT("DEFPUSHBUTTON"), B...原创 2020-04-05 21:46:41 · 325 阅读 · 1 评论