![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
win32设计
文章平均质量分 87
shark888
这个作者很懒,什么都没留下…
展开
-
Window程序设计基础九:Standard Controls: Button, Edit, List Box
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原创 2013-09-15 19:38:16 · 362 阅读 · 0 评论 -
图形接口 :: :Timers and Animation
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原创 2013-09-15 20:04:43 · 460 阅读 · 0 评论 -
图形接口 二::Graphics Device Interface Bitmaps and Device :Transparent Bitmaps
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原创 2013-09-15 20:02:30 · 441 阅读 · 0 评论 -
创建简单应用程序一::App Part 3: Tool and Status bars
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原创 2013-09-15 19:53:44 · 467 阅读 · 0 评论 -
图形接口 ::Bitmaps, Device Contexts and BitBlt
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原创 2013-09-15 20:01:18 · 440 阅读 · 0 评论 -
创建简单应用程序::App Part 2: Using files and the common dialogs
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原创 2013-09-15 19:51:15 · 486 阅读 · 0 评论 -
创建简单应用程序一::App Part 1: Creating controls at runtime
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原创 2013-09-15 19:48:03 · 318 阅读 · 0 评论 -
Window程序设计基础十:Dialog FAQ
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原创 2013-09-15 19:39:54 · 386 阅读 · 0 评论 -
Window程序设计基础八:Modeless Dialogs
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原创 2013-09-15 19:34:23 · 313 阅读 · 0 评论 -
Window程序设计基础六:Menus and Icons
Menus and Icons原创 2013-09-15 19:25:49 · 437 阅读 · 0 评论 -
Window程序设计基础五:Using Resources
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原创 2013-09-15 19:24:29 · 295 阅读 · 0 评论 -
Window程序设计基础四:Understanding the Message Loop
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原创 2013-09-15 19:22:04 · 462 阅读 · 0 评论 -
Window程序设计基础三:Handling Messages
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原创 2013-09-15 19:19:19 · 303 阅读 · 0 评论 -
Why you should learn the API before MFC
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原创 2013-09-15 20:22:41 · 113 阅读 · 0 评论 -
Window程序设计基础七:Dialogs, GUI coders best friend
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原创 2013-09-15 19:32:15 · 323 阅读 · 0 评论 -
Window程序设计基础二A Sample Widow
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原创 2013-09-15 19:12:04 · 395 阅读 · 0 评论 -
图形接口 :Text and Fonts
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原创 2013-09-15 20:09:20 · 432 阅读 · 0 评论 -
创建简单应用程序一::App Part 4: Multiple Document Interface
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原创 2013-09-15 19:57:54 · 358 阅读 · 0 评论