登录
首页 » c++,c » MFC界面操作

MFC界面操作

于 2022-02-19 发布 文件大小:55.64 kB
0 99
下载积分: 2 下载次数: 1

代码说明:

这一款比较综合的介绍MFC的操作过程,包括控件的创建,快捷键的建立,程序中利用计算器的例子去讲述MFC的强大,虽然MFC当前已经慢慢没有多少人取用了,但是作者想说依然是很强大的工具,对后面学习新的用户界面很有帮助

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 配置文件读写
    实现简单的文件打开,写入数据,读取数据,关闭文件,创建文件,并实现简单的业务封装。适合初学者学习,借鉴,希望能帮助大家学号C语言,谢谢。
    2022-01-22 11:23:20下载
    积分:1
  • STM32编程简易数字钟
      在学习STM32的道路上遇到的问题:I/O不能像51那样成组使用,所以想起来的这个方法,可以控制多个随机组合的I/O,只要你需要,就能配出来。程序集结定时器,中断,按键扫描,数码管操作。
    2023-07-31 23:40:04下载
    积分:1
  • 用C#开发PDA里怎样播放WAV声音,其中要调用CoreDll.dll档的共公类部分...
    用C#开发PDA里怎样播放WAV声音,其中要调用CoreDll.dll档的共公类部分-C# development PDA how to play WAV sound, which must be called CoreDll.dll stalls were part of the public category
    2023-08-07 12:10:03下载
    积分:1
  • C#版本身份证验证器
    身份证验证器,可以得到该身份证的性别、地区、生日等信息
    2013-01-19下载
    积分:1
  • 自己学习51半年来敲过的所有源码,都拿出来贡献了。
    对新手肯定会很有帮助,keil5环境下编译通过,在郭天祥TX-1C实验板上全部实现
    2023-08-02 09:05:04下载
    积分:1
  • tsai摄像机标定
    实现tsai的摄像机标定方法,具体的实现是:先生成对应的世界坐标和图像坐标,根据图像坐标和世界坐标之间的转化关系,实现摄像机参数的标定,标定过程只需要采集一幅图像;并且可以在不同方式下衡量摄像机标定精度。
    2022-04-24 13:45:23下载
    积分:1
  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • C# 压缩、解压缩文件实例源码(7zip)
    C# 压缩、解压缩文件实例源码(7zip)
    2019-07-10下载
    积分:1
  • 应用了类,虚基类,构造等面向对象的技术来进行个人资料的管理
    应用了类,虚基类,构造等面向对象的技术来进行个人资料的管理-category of application, virtual base class and structure of object-oriented technologies for the management of personal data
    2023-03-29 19:30:03下载
    积分:1
  • 动态规划
    使用动态规划进行练习,更加节省开销的结题。
    2022-04-26 12:02:32下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载