在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 国外下载的Win32++类库(纯C++代码封装的windows SDK),附源码

国外下载的Win32++类库(纯C++代码封装的windows SDK),附源码

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:3.20M
  • 下载次数:2
  • 浏览次数:54
  • 发布时间:2021-11-12
  • 实例类别:一般编程问题
  • 发 布 人:js2021
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
使用C++代码封装的win32操作类, 与MFC相似,对于学习SDK与C++是巨好的参考 Tutorials Menu of tutorials Tutorial 1: The Simplest Window Tutorial 2: Using Classes and Inheritance Tutorial 3: Using Messages to Create a Scribble Window Tutorial 4: Repainting the Window Tutorial 5: Wrapping a Frame around our Scribble Window Tutorial 6: Customising Window Creation Tutorial 7: Customising the Toolbar Tutorial 8: Loading and Saving Files Tutorial 9: Printing Tutorial 10: Finishing Touches Tutorial 1: The Simplest Window The following code uses Win32++ to create a window. This is all the code you need (in combination with Win32++) to create and display a simple window. Note that in order to add the Win32++ code to our program, we use an #include statement as shown below. #include "../Win32++/Wincore.h" INT WINAPI WinMain(HINSTANCE, HINSTANCE, LPTSTR, int) { //Start Win32++ CWinApp MyApp; //Create a CWnd object CWnd MyWindow; //Create (and display) the window MyWindow.Create(); //Run the application return MyApp.Run(); } This program has four key steps: Start Win32++. We do this here by creating a CWinApp object called MyApp. Create a CWnd object called MyWindow. Create a default window by calling the Create function. Start the message loop, by calling the Run function. If you compile and run this program, you'll find that the application doesn't end when the window is closed. This is behaviour is normal. An illustration of how to use messages to control the windows behaviour (including closing the application) will be left until tutorial 3.
【实例截图】
【核心代码】
4744300845386947154.rar
├── DialogDemo
│   ├── ProjectFiles
│   │   ├── Debug
│   │   │   ├── DialogDemoApp.obj
│   │   │   ├── DialogDemo.exe
│   │   │   ├── DialogDemo.ilk
│   │   │   ├── DialogDemo.pch
│   │   │   ├── DialogDemo.pdb
│   │   │   ├── Hyperlink.obj
│   │   │   ├── main.obj
│   │   │   ├── MyButton.obj
│   │   │   ├── MyDialog.obj
│   │   │   ├── Resource.res
│   │   │   ├── StdAfx.obj
│   │   │   ├── vc60.idb
│   │   │   └── vc60.pdb
│   │   ├── DialogDemo_2003.sln
│   │   ├── DialogDemo_2003.vcproj
│   │   ├── DialogDemo_2005.sln
│   │   ├── DialogDemo_2005.vcproj
│   │   ├── DialogDemo_2008.sln
│   │   ├── DialogDemo_2008.vcproj
│   │   ├── DialogDemo_2010.sln
│   │   ├── DialogDemo_2010.vcxproj
│   │   ├── DialogDemo_2010.vcxproj.filters
│   │   ├── DialogDemo.bdsproj
│   │   ├── DialogDemo.bpf
│   │   ├── DialogDemo.cbp
│   │   ├── DialogDemo.dsp
│   │   ├── DialogDemo.dsw
│   │   ├── DialogDemo.ncb
│   │   ├── DialogDemo.opt
│   │   └── DialogDemo.plg
│   ├── Readme.txt
│   └── src
│   ├── DialogDemoApp.cpp
│   ├── DialogDemoApp.h
│   ├── DialogDemo_DEBUG.dev
│   ├── DialogDemo_RELEASE.dev
│   ├── Hyperlink.cpp
│   ├── Hyperlink.h
│   ├── main.cpp
│   ├── MyButton.cpp
│   ├── MyButton.h
│   ├── MyDialog.cpp
│   ├── MyDialog.h
│   ├── res
│   │   ├── Dialog.ico
│   │   └── Win32++.manifest
│   ├── resource.h
│   ├── Resource.rc
│   ├── StdAfx.cpp
│   └── stdafx.h
└── Win32++
├── About these folders.txt
├── help
│   └── Win32++.chm
├── include
│   ├── changes.txt
│   ├── classes.txt
│   ├── copyright.txt
│   ├── default_resource.h
│   ├── default_resource.rc
│   ├── dialog.h
│   ├── docking.h
│   ├── frame.h
│   ├── gdi.h
│   ├── info.txt
│   ├── listview.h
│   ├── mdi.h
│   ├── propertysheet.h
│   ├── rebar.h
│   ├── release notes.txt
│   ├── ribbon.h
│   ├── socket.h
│   ├── statusbar.h
│   ├── stdcontrols.h
│   ├── tab.h
│   ├── toolbar.h
│   ├── treeview.h
│   ├── wceframe.h
│   ├── wcestddef.h
│   ├── webbrowser.h
│   └── wincore.h
├── new projects
│   ├── Dev-C++
│   │   └── Release
│   ├── NewProject_2003.vcproj
│   ├── NewProject_2005.vcproj
│   ├── NewProject_2008.vcproj
│   ├── NewProject_2010.vcxproj
│   ├── NewProject.cbp
│   ├── NewProject_DEBUG.dev
│   ├── NewProject.dsp
│   └── NewProject_RELEASE.dev
├── output
└── tools
├── AllProjects_2003.sln
├── AllProjects_2005.sln
├── AllProjects_2008.sln
├── AllProjects.dsw
├── Clean.bat
├── CleanTutorials.bat
├── Compile All.bat
├── Compile CodeBlocks.bat
├── Compile VS2005.bat
├── Compile VS2005 Express.bat
├── Compile VS2008.bat
├── Compile VS2008 Express.bat
├── Compile VS2010.bat
└── Compile VS2010 Express.bat

13 directories, 98 files

标签:

实例下载地址

国外下载的Win32++类库(纯C++代码封装的windows SDK),附源码

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警