https://msdn.microsoft.com/en-us/library/windows/desktop/ff381399%28v=vs.85%29.aspx
目前共有7篇帖子。
![]() |
|
![]() |
Welcome to the series Learn to Program for Windows in C++. The aim of this series is to teach you how to write a Windows program in C++.
In the first module, you'll learn step-by-step how to create and show a window. Later modules will introduce the Component Object Model (COM), graphics and text, and user input. For this series, it is assumed that you have a good working knowledge of C++ programming. No previous experience with Windows programming is assumed. (If you are new to C++, you can find learning material at the Visual C++ Developer Center.) 【翻译】 欢迎阅读 《学习用C++编写Windows窗口程序》系列教程。这套教程的目的是为了讲解如何用C++编写一个Windows窗口程序。 首先,你将一步一步地学习怎样创建并显示一个窗口,然后学习COM(组件对象模型),图形绘制以及处理文本和用户的输入。 学习这个系列教程之前,你需要已经掌握C++的基础知识,但不需要有任何先前的Windows窗口程序编写经验。如果你完全是一个C++的新手,那么你可以在VC++开发中心(应该也是微软官方的一个网站)找到C++的学习资料。 |
![]() |
C++基础知识学习资料:
https://msdn.microsoft.com/en-us/vstudio/hh386302 右边的C++ programming basics(C++编程基础)栏目: ![]() |
![]() |
【编写Windows窗口程序的开发环境布置】
https://msdn.microsoft.com/en-us/library/windows/desktop/ff381402%28v=vs.85%29.aspx 可以直接下载Windows SDK安装,然后用记事本或者其他文本编辑器编写程序,最后在控制台中用命令编译程序。这是最原始的开发方式。 不过文章里面推荐使用免费的集成开发环境:Visual C++ Express(速成版) |
![]() |
微软官方上的教程比国内的书上讲得详细多了。比如我看了很多国内的设计Windows窗口程序的书,没有一本书提到如何启用XP风格的控件,以及如何使用ListControl的Tile(平铺)视图。
|
![]() |
【不用MFC,怎样编写窗口基类 class Window ——也就是如何把窗口API封装成一个C++类的教程】
https://msdn.microsoft.com/en-us/library/windows/desktop/ff381400%28v=vs.85%29.aspx |
![]() |