社区
非技术类
帖子详情
win32api ? or MFC?
visual4825
2004-12-27 09:25:31
刚读过charles petzold的<<programming window(fifth version)>>,
对于 sdk/api有了浅浅的认识, 下一步???
学习vc,选择sdk/win32api?MFC?
...全文
220
13
打赏
收藏
win32api ? or MFC?
刚读过charles petzold的<>, 对于 sdk/api有了浅浅的认识, 下一步??? 学习vc,选择sdk/win32api?MFC?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
13 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
surstar
2005-01-12
打赏
举报
回复
楼主 可不可以加我MSN: yuhejun@126.com
QQ:21728812
我和你一样 类似的情况, 希望和你共同进步 相互学习!
去加那些高手,他们也很忙 ~~ 郁闷~
stan_uni
2005-01-11
打赏
举报
回复
谁能介绍一下关于sdk/win32api的好书
qrlvls
2005-01-04
打赏
举报
回复
First program some simple SDK batches
then MFC
visual4825
2005-01-04
打赏
举报
回复
多谢楼上各位 呵呵
一条晚起的虫
2004-12-30
打赏
举报
回复
什么好佣就用什么
railgunman
2004-12-30
打赏
举报
回复
因为MFC里面有很多关于面向对象的精华。
railgunman
2004-12-30
打赏
举报
回复
我觉得应该以MFC为主,sdk/win32api为辅最好!
ks2
2004-12-28
打赏
举报
回复
stl
要界面的就用mfc拉,不行就用bcb拉
听说再过一段c++就会出gui库的了
ask you dead or not?
蒋晟
2004-12-28
打赏
举报
回复
有人禁止你两个一齐用么?
_HUG_
2004-12-27
打赏
举报
回复
随便啊,但是最后两个都要看啊~~~~
visual4825
2004-12-27
打赏
举报
回复
多谢楼上的,但是若用C++进行windows编程,得有个类库吧
MZP
2004-12-27
打赏
举报
回复
sdk/win32api
ks2
2004-12-27
打赏
举报
回复
win32api
Programming Microsoft Windows CE .NET
Programming Microsoft Windows CE is written for anyone who will be writing applications for Windows CE or the .NET Compact Framework. Embedded systems programmers using Windows CE for a specific application, Windows programmers interested in writing or porting an existing Windows application, and even developers of managed code can use the information in this book to make their tasks easier.
The embedded systems programmer, who might not be as familiar with the
Win32
API
as the Windows programmer, can read the first section of the book to become familiar with Windows programming. Although this section isn’t the comprehensive tutorial that can be found in books such as Programming Windows, by Charles Petzold, it does provide a base that will carry the reader through the other chapters in the book. It can also help the embedded systems programmer develop fairly complex and quite useful Windows CE programs.
The experienced Windows programmer can use the book to learn about the differences among the
Win32
API
s used by Windows CE and Windows XP. The differences between Windows CE and Windows XP are significant. The small footprint of Windows CE means that many of the overlapping
API
s in the
Win32
model aren’t supported. Some sections of the
Win32
API
aren’t supported at all. On the other hand, because of its unique setting, Windows CE extends the
Win32
API
in a number of areas that are covered in this text.
This book is also useful for the developer using the .NET Compact Framework. The Compact Framework currently has gaps in its functionality: it requires managed applications to make calls to the operating system to perform certain tasks. The book is a great guide to what’s available in the operating system. A chapter in this book discusses the unique nature of developing managed code on Windows CE–based devices.
The method used by Programming Windows CE is to teach by example. I wrote numerous Windows CE example programs specifically for this book. The source for each of these examples is printed in the text. Both the source and the final compiled programs for a number of the processors supported by Windows CE are also provided on the accompanying CD.
The examples in this book are all written directly to the
API
, the so-called “Petzold” method of programming. Since the goal of this book is to teach you how to write programs for Windows CE, the examples avoid using a class library such as
MFC
, which obfuscates the unique nature of writing applications for Windows CE. Some people would say that the availability of
MFC
on Windows CE eliminates the need for direct knowledge of the Windows CE
API
. I believe the opposite is true. Knowledge of the Windows CE
API
enables more efficient use of
MFC
. I also believe that truly knowing the operating system also dramatically simplifies the debugging of applications.
WTL Makes UI Programming a Joy, Part 1: The Basics - Samples
The Windows Template Library (WTL) is available on the January 2000 Platform SDK. It is an SDK sample produced by members of the ATL (Active Template Library) team chartered with building an ATL-based wrapper around the windowing portions of the
Win32
API
. Since version 2.0, ATL has had simple windowing wrapper classes, such as CWindow, CWindowImpl, and CDialogImpl. However, when compared with
MFC
, ATL’s windowing classes were little more than a tease. Even in ATL 3.0, there is no support for such popular features as MDI, command bars, DDX, printing, GDI, or even a port of the most beloved class in all of
MFC
, CString. Without these features WTL cannot satisfy the overwhelming majority of
MFC
programmers. WTL is what members of the ATL team think a windowing framework should be. Table 1 shows the list of features that WTL provides as compared to
MFC
.
VC帮助文档
Class Library Reference The Class Library Reference covers the classes, global functions, global variables, and macros that make up the Microsoft® Foundation Class Library, version 6.0. The class hierarchy chart details the class relationships in the class library. The Class Library Overview lists the classes in helpful categories. Use these lists to help locate a class that contains the functionality you are interested in.Visual C++ Programmer's Guide explains how to use the class library to program for Microsoft Windows NT®, Microsoft Windows® 95, and other
Win32
® platforms. Practical examples and techniques are supplied in the tutorials inVisual C++/
MFC
Tutorials. The remainder of the Class Library Reference consists of an alphabetical listing of the classes and an
MFC
Macros and Globals section that explains the global functions, global variables, and macros used with the class library. The individual hierarchy charts included with each class are useful for locating base classes. The Class Library Reference usually does not describe inherited member functions, inherited operators, and overridden virtual member functions. For information on these functions, refer to the base classes depicted in the hierarchy diagrams. In the alphabetical listing section, each class description includes a member summary by category, followed by alphabetical listings of member functions, overloaded operators, and data members. Public and protected class members are documented only when they are normally used in application programs or derived classes. Occasionally, private members are listed because they override a public or protected member in the base class. See the class header files for a complete listing of class members. Some C-language structures defined by Windows are so widely applicable that their descriptions have been reproduced completely in a section following the alphabetical reference. Please note that the “See Also” sections refer to
Win32
API
functions by prefacing them with the scope resolution operator (::), for example, ::EqualRect. More information on these functions can be found in the
Win32
SDK documentation.
从
Win32
转到
MFC
编写简单
win32
程序 学习的目的:了解 Windows 程序运行的原理,图形是怎么绘制的,窗口是怎么产生的
MFC
:微软封装的Windows的面向对象的C++类库,封装了Windows
API
MFC
全称微软基础类库,英文全称 Microsoft Foundation Classes把操作一系列窗口的函数封装到窗口类,把操作一系列菜单的函数封装到菜单类,把操作一系列绘图的函数封装到绘图类优点:可重用性,不需要重复造轮子、简单缺点:做界面比较丑,如果要做漂亮的程序比较复杂,工业应用比较多我们也可以自己
Win32
API
封装类总结
以下是一些封装的
Win32
API
类;备用; 重温
WIN32
API
------ 最简单的Windows窗口封装类 http://blog.csdn.net/smstong/article/details/42366899 1 开发语言抉择 1.1 关于开发
Win32
程序的语言选择 C还是C++ 在决定抛弃
MFC
,而使用纯
Win32
API
开发Window桌面
非技术类
1,649
社区成员
58,980
社区内容
发帖
与我相关
我的任务
非技术类
VC/MFC 非技术类
复制链接
扫一扫
分享
社区描述
VC/MFC 非技术类
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章