自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(113)
  • 收藏
  • 关注

原创 Why you should learn the API before MFC

The ControversyToo many people come on to IRC and ask "What is better, MFC or API?" and too many people are willing to say "MFC sucks" or "API sucks" either because of traumatic events involving one

2013-09-15 20:22:41 113

原创 Resource file notes

Resource file notesArgh!The one thing I really hated when I switched my primary development environment from Borland C++ to MS Visual C++ was the way VC++ handles resource scripts (.rc files).

2013-09-15 20:21:03 389

原创 Solutions to Common Errors Error LNK2001: unresolved external symbol _main Error C2440: cannot conv

Solutions to Common ErrorsError LNK2001: unresolved external symbol _mainError C2440: cannot convert from 'void*' to 'HICON__ *' (or similar)Fatal error RC1015: cannot open include file 'afxres.h'

2013-09-15 20:17:10 409

原创 图形接口 :Text and Fonts

Text and FontsExample: font_oneLoading FontsThe Win32 GDI has some remarkable capabilites for dealing with vastly different typefaces, styles, languages and characters sets. One of the drawb

2013-09-15 20:09:20 431

原创 图形接口 :: :Timers and Animation

Timers and AnimationExample: anim_oneSetting upBefore we get things animated, we need to set up a structure to store the position of the ball between updates. This struct will store the curr

2013-09-15 20:04:43 458

原创 图形接口 二::Graphics Device Interface Bitmaps and Device :Transparent Bitmaps

Example: bmp_twoTransparencyGiving bitmaps the appearance of having transparent sections is quite simple, and involves the use of a black and white Mask image in addition to the colour image t

2013-09-15 20:02:30 441

原创 图形接口 ::Bitmaps, Device Contexts and BitBlt

Bitmaps, Device Contexts and BitBltExample: bmp_oneGDIThe really great thing about MS Windows is that unlike DOS, you don't need to know anything about what video hardware you are using to d

2013-09-15 20:01:18 439

原创 创建简单应用程序一::App Part 4: Multiple Document Interface

App Part 4: Multiple Document InterfaceExample: app_fourMDI OverviewFirst a bit of background... Every window has a Client Area, this is where most programs draw images, place controls

2013-09-15 19:57:54 358

原创 创建简单应用程序一::App Part 3: Tool and Status bars

App Part 3: Tool and Status barsExample: app_threeAn IMPORTANT Word on Common ControlsAs with all common controls, you must callInitCommonControls() BEFORE you try and use them. You will nee

2013-09-15 19:53:44 467

原创 创建简单应用程序::App Part 2: Using files and the common dialogs

App Part 2: Using files and the common dialogsExample: app_twoThe Common File DialogsThe first step to opening or saving files is finding out the filename to use... of course you could alway

2013-09-15 19:51:15 486

原创 创建简单应用程序一::App Part 1: Creating controls at runtime

Example: app_oneI thought that since an example on creating controls on the fly, although usefull, would be quite pointless unless the application actually did something, so in this entry I will s

2013-09-15 19:48:03 317

原创 Window程序设计基础十:Dialog FAQ

Dialog FAQExample: dlg_threeNow don't get me wrong, this is a Tutorial, not a Reference, but some questions people ask SO often that I figured I might as well include them here.Changing Colo

2013-09-15 19:39:54 385

原创 Window程序设计基础九:Standard Controls: Button, Edit, List Box

Standard Controls: Button, Edit, List BoxExample: ctl_oneI realize I've already used buttons in previous examples, so you should already be more or less familiar with them, however I figured t

2013-09-15 19:38:16 360

原创 Window程序设计基础八:Modeless Dialogs

Modeless DialogsExample: dlg_twoNow we take a look at CreateDialog(), DialogBox()'s sister function. The difference is that while DialogBox() implements it's own message loop and does not re

2013-09-15 19:34:23 313

原创 Window程序设计基础七:Dialogs, GUI coders best friend

Dialogs, GUI coders best friendExample: dlg_oneThere's hardly a windows program out there that doesn't use dialog boxes. Just go File -> Open in any text editor or any other kind of editor for

2013-09-15 19:32:15 322

原创 Window程序设计基础六:Menus and Icons

Menus and Icons

2013-09-15 19:25:49 437

原创 Window程序设计基础五:Using Resources

Using ResourcesYou may also want to refer to the Appendices at the end of this tutorial for more information on resources with VC++ and BC++.Before we get any deeper I will cover the topic of re

2013-09-15 19:24:29 295

原创 Window程序设计基础四:Understanding the Message Loop

Understanding the Message LoopUnderstanding the message loop and entire message sending structure of windows programs is essential in order to write anything but the most trivial programs. Now tha

2013-09-15 19:22:04 462

原创 Window程序设计基础三:Handling Messages

Handling MessagesExample: window_clickAlright, we've got a window, but it doesn't do anything except what DefWindowProc() allows it to, like be sized, maximised, etc... Not really all that

2013-09-15 19:19:19 303

原创 Window程序设计基础二A Sample Widow

Example: simple_windowSometimes people come on IRC and ask "How do I make a window?"...Well it's not entirely that simple I'm afraid. It's not difficult once you know what you're doing but there a

2013-09-15 19:12:04 395

原创 c++指针

1.指针      所有数据类型都有指向该类型的 指针类型,该指针变量存储了内存地址,   指针类型有两种操作方法:       &  取地址操作       *   去引用(间接操作)a。  如定义整形变量i和指向整形变量的指针。   int i, *pI;b 取地址操作:p1=&i;.则&i返回i的地址,并何赋值给pi。c。间

2013-08-10 21:10:13 185

c++指针

1.指针   所有数据类型都有指向该类型的 指针b

2013-08-10 20:21:42 52

转载 打开HxS 文件的方法

找了好久没有找到怎么打开NDoc编译出的.hxs文件的方法,偶然在http://frogleg.mvps.org/helptechnologies/mshelp2/h2conv.html这里发现了。需要安装Microsoft Help 2.0 SDK(VSHIK2003.exe)。假设hxs文件路径在 D:/doc/Documentation.HxS执行"C:/Program Fi

2013-04-27 02:02:07 266

转载 更改SQL Server sa密码、默认端口 以及ADO连接字符串指定端口号

更改SQL Server sa密码、默认端口 以及ADO连接字符串指定端口号分类: SQL2011-07-23 15:03 10774人阅读 评论(0) 收藏 举报sql serversqlservermicrosoft服务器security工具1、更改sa密码[sql] view plaincopyexe

2013-04-19 00:43:53 361

原创 msdn

msdnWindows 开发人员中心MSDN 资源库MFC ClassesVisual C++ 参考Visual C++ 示例应用程序COLLECT 示例:阐释 MFC 集合类Games for Windows and the DirectX SDK - Site Home - MSDN BlogsVisual C++ 精华问答集中帖Visual C++ MFC and ATL ForumStru

2013-04-18 21:54:50 223

原创 通过Windows APIs 或 WMI 来获得系统信息

我们可以通过Windows APIs 或 WMI 来获得系统信息。Windows APIsSystem Information Functions用来取得和设置系统信息。比如,EnumDisplayDevices 函数可以获取当前状态下显示设备的信息。IP Helper Functions 用来取得和修改在本地计算机上传输的TCP/IP的配置设置。如

2013-04-18 21:38:40 243

原创 任何获取支持

How do I get this FAQ?Hey, this is one of those chicken and egg questions, if you're reading this you already have the FAQ. But seriously, the MFC FAQ is put out just about monthly, so chances are y

2013-03-30 18:10:49 216

原创 NetBeans IDE 7.2.1

NetBeans IDE 下载用NetBeans IDE开发C++lC/c++ Application配置NetBeans IDE的C / C + + / Fortran语言 - 的NetBeans IDE 7.1http://netbeans.org/community/releases/71/cpp-setup-instructions.html

2012-12-08 10:46:40 218

原创 Microsoft JDBC Driver 4.0 for SQL Server

Microsoft JDBC Driver 4.0 for SQL Server点击打开链接下载 Microsoft JDBC Driver 4.0 for SQL Server,这是一个 Type 4 JDBC 驱动程序,它通过 Java Platform Enterprise Edition 5 和 6 中可用的标准 JDBC 应用程序编程接口 (API) 提供数据库连接。Mi

2012-12-08 10:18:21 162

转载 Windows7环境下如何成功安装Oracle数据库

(2010-01-18 08:20:00)    随着微软新一代操作系统 Windows7 的正式发行,使用 Windows7  的朋友也越来越多,很多人在 Windows7 环境下安装 Oracle 或多或少遇到了一些问题,有的甚至发出“Windows7无法安装Oracle”的感慨。今天笔者结合图文和大家分享一下在Windows7环境下如何成功安装Oracle

2012-12-02 19:44:13 192

原创 创建应用程序的步骤

创建应用程序一般步骤:1、创建应用程序2、界面设计 3、代码设计 4、 运行及发布5、发布应用程序1、创建应用程序   利用向导创建对话框应用程序,并且设置项目名为hello。2、界面设计。 将 两个按钮调整到窗口下部对齐,将static调整到窗口上部      3、代码设计  注意:Dialog类中成员函数OnOK()中调用

2012-11-25 21:40:02 389

原创 vc 6.0 向导

1.vc++ 6.0 创建对话框方法/file / new  / project  对话框中选 "MFC AppWarid EXE"    /  选择应用程序的类型为Dialog base

2012-11-25 20:12:56 140

原创 c++基础

1。变量    变量是在用于存储信息的标识符,代表了每个存储空间及其所容纳数据。c/c++中变量都被指定具体的数据类型,如:整形,浮点型和长型整数,不能直接分配不同的数据类型的信息,比如;一个整形变量x就不能直接浮点值或字符串类型。  变量和对象的区别: 变量是指一个基本的数据类型,它只保护信息的值或状态,不保护值的分配。对象保护如何赋值和改变值。比如:int i=后面如果有i=2

2012-11-01 01:06:10 71

原创 面向对象c++程序设计

二。面向对象的编程编程语言c++的面向对象编程的基本特征:封装、信息隐藏、继承和多态性。 通过   类来封装来映射真实世界的实体,封装将操作和属性封装在一个类里边,实现类的信息隐藏。类的结构如下:class myClass{       attribute1;      attribute2;  ....public:     operation

2012-10-28 10:34:43 151

原创 面向对象c++程序设计

二。面向对象的编程编程语言c++中提供面向对象编程的基本特征。即封装、信息隐藏、继承和多态性。用类对真实世界的实体隐射。类的结构如下:class myClass{       attribute1;      attribute2;  ....public:     operation1();     operation2();

2012-10-28 09:33:00 55

转载 C++ 特殊机制收集

类型转换reinterpret_cast 将一个类型指针转换为另一个类型指针const_cast    用于去除指针变量的常属性,将它转换为一个对应指针类型的普通变量,反过来也可以将一个非常量指针转换为一个常量指针变量static_cast    用于转换基本类型和具有继承关系的类新之间转换,不太用于指针类型的之间的转换dynamic_cast    只能在继承类对象的指针之间

2012-10-16 00:21:50 280

原创 程序设计的方法

根据根据用到程序设计。bs网站提供更多的应用

2012-10-15 23:31:37 93

转载 OpenErp

http://openerp-china.org/index.php?page=Hello+OpenERP OpenERP中文帮助欢迎恭喜你来到 OpenERP 的世界,开始成为您未来 ERP 的主人!准备好开始你的 OpenERP 之旅了么?最新版本|OpenERP v6.1.1-latest| ALL-IN

2012-10-14 23:27:33 543

原创 SVG-edit is a fast, web-based, Javascript-driven SVG editor that works in any modern browser:

Try the demo hereGoogle CodeIntroductionSVG-edit is a fast, web-based, Javascript-driven SVG editor that works in any modern browser:Firefox 1.5+Opera 9.50+Safari 4+Chrome 1+IE 6+ (w

2012-10-14 23:18:45 641

原创 面向对象编程技术

1.概述         在程序设计的早期程序员要解决的问题简单,程序员专业技术不足,采用的面向过程编程设计,导致编写的代码难以维护。随着编程技术规模越来越庞大,利用面向对象方法来编写管理这些程序变得越来越必要。1.1过程编程、结构化编程和面向对象编程         面向过程的编程方法,其程序是其函数的基础上构建的。这种技术的核心是对构成程序的 函数进行设计、组织和实现。

2012-10-10 23:30:42 196

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除