<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shark888</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shark888]]></copyright><item><title><![CDATA[Why you should learn the API before MFC]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713541</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713541</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 20:22:41 +0800</pubDate><description><![CDATA[The Controversy
Too 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]]></description><category></category></item><item><title><![CDATA[Resource file notes]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713517</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713517</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 20:21:03 +0800</pubDate><description><![CDATA[Resource file notes

Argh!
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).
]]></description><category></category></item><item><title><![CDATA[Solutions to Common Errors  Error LNK2001: unresolved external symbol _main Error C2440: cannot conv]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713461</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713461</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 20:17:10 +0800</pubDate><description><![CDATA[Solutions to Common Errors

Error LNK2001: unresolved external symbol _mainError C2440: cannot convert from 'void*' to 'HICON__ *' (or similar)Fatal error RC1015: cannot open include file 'afxres.h']]></description><category></category></item><item><title><![CDATA[图形接口  ：Text and Fonts]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713345</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713345</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 20:09:20 +0800</pubDate><description><![CDATA[Text and Fonts

Example: font_one

Loading Fonts
The Win32 GDI has some remarkable capabilites for dealing with vastly different typefaces, styles, languages and characters sets. One of the drawb]]></description><category></category></item><item><title><![CDATA[图形接口 ：： ：Timers and Animation]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713295</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713295</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 20:04:43 +0800</pubDate><description><![CDATA[Timers and Animation

Example: anim_one

Setting up
Before 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]]></description><category></category></item><item><title><![CDATA[图形接口 二：：Graphics Device Interface Bitmaps and Device ：Transparent Bitmaps]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713277</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713277</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 20:02:30 +0800</pubDate><description><![CDATA[Example: bmp_two

Transparency
Giving 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]]></description><category></category></item><item><title><![CDATA[图形接口 ：：Bitmaps, Device Contexts and BitBlt]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713237</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713237</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 20:01:18 +0800</pubDate><description><![CDATA[Bitmaps, Device Contexts and BitBlt

Example: bmp_one

GDI
The 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]]></description><category></category></item><item><title><![CDATA[创建简单应用程序一：：App Part 4: Multiple Document Interface]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713193</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713193</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:57:54 +0800</pubDate><description><![CDATA[App Part 4: Multiple Document Interface



Example: app_four

MDI Overview
First a bit of background... Every window has a Client Area,
 this is where most programs draw images, place controls]]></description><category></category></item><item><title><![CDATA[创建简单应用程序一：：App Part 3: Tool and Status bars]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713175</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713175</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:53:44 +0800</pubDate><description><![CDATA[App Part 3: Tool and Status bars

Example: app_three

An IMPORTANT Word on Common Controls
As with all common controls, you must callInitCommonControls() BEFORE you try and use them. You will nee]]></description><category></category></item><item><title><![CDATA[创建简单应用程序：：App Part 2: Using files and the common dialogs]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713141</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713141</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:51:15 +0800</pubDate><description><![CDATA[App Part 2: Using files and the common dialogs

Example: app_two

The Common File Dialogs
The first step to opening or saving files is finding out the filename to use... of course you could alway]]></description><category></category></item><item><title><![CDATA[创建简单应用程序一：：App Part 1: Creating controls at runtime]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713099</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713099</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:48:03 +0800</pubDate><description><![CDATA[Example: app_one

I 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]]></description><category></category></item><item><title><![CDATA[Window程序设计基础十：Dialog FAQ]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713025</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713025</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:39:54 +0800</pubDate><description><![CDATA[Dialog FAQ

Example: dlg_three

Now 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]]></description><category></category></item><item><title><![CDATA[Window程序设计基础九：Standard Controls: Button, Edit, List Box]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11713003</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11713003</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:38:16 +0800</pubDate><description><![CDATA[Standard Controls: Button, Edit, List Box

Example: ctl_one

I realize I've already used buttons in previous examples, so you should already be more or less familiar with them, however I figured t]]></description><category></category></item><item><title><![CDATA[Window程序设计基础八：Modeless Dialogs]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11712963</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11712963</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:34:23 +0800</pubDate><description><![CDATA[Modeless Dialogs

Example: dlg_two

Now 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]]></description><category></category></item><item><title><![CDATA[Window程序设计基础七：Dialogs, GUI coders best friend]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11712943</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11712943</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:32:15 +0800</pubDate><description><![CDATA[Dialogs, GUI coders best friend

Example: dlg_one
There'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]]></description><category></category></item><item><title><![CDATA[Window程序设计基础六：Menus and Icons]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11712889</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11712889</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:25:49 +0800</pubDate><description><![CDATA[Menus and Icons]]></description><category></category></item><item><title><![CDATA[Window程序设计基础五：Using Resources]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11712869</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11712869</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:24:29 +0800</pubDate><description><![CDATA[Using Resources

You 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]]></description><category></category></item><item><title><![CDATA[Window程序设计基础四：Understanding the Message Loop]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11712855</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11712855</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:22:04 +0800</pubDate><description><![CDATA[Understanding the Message Loop

Understanding 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]]></description><category></category></item><item><title><![CDATA[Window程序设计基础三：Handling Messages]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11712809</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11712809</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:19:19 +0800</pubDate><description><![CDATA[Handling Messages


Example: window_click
Alright,
 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]]></description><category></category></item><item><title><![CDATA[Window程序设计基础二A Sample Widow]]></title><link>https://blog.youkuaiyun.com/shark888/article/details/11712761</link><guid>https://blog.youkuaiyun.com/shark888/article/details/11712761</guid><author>shark888</author><pubDate>Sun, 15 Sep 2013 19:12:04 +0800</pubDate><description><![CDATA[Example: simple_window
Sometimes
 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]]></description><category></category></item></channel></rss>