资源列表
SelSingle
- 在vc++ 程序窗体中使用Radio button的示例,让你学会RadioButton的用法,对VC来说,这是再简单不过的基础要领了。本源码实例通过用户对单选框Radio button的选择,演示如何得到单选按钮的值,并最终显示结果。-In vc++ program using the form Radio button examples, so you learn how to use RadioButton, the VC, it is simple enough for a basic
Habit
- checkBox的使用应该说在各种编程语言中都是基础的,在VC++中也不例外,对于高手来说,这个代码不用看了,主要是写给新手看的,如图所示的窗口中,有几个CheckBox复选框供选择,程序会判断出用户所选择的复选框的值,并以MessageBox的方式返回给用户结果-checkBox use should be said is based on a variety of programming languages , in VC++ is no exception, fo
SimpleTextOut
- VC++中简单的TextOut输出文本字符的使用实例,新手有兴趣的源码,实现过程:获取窗口设备上下文,然后在窗口客户区域指定位置输出文本-VC++ TextOut output using the simple examples of text characters, and newcomers are interested in the source code, the implementation process: Get device context window, and then sp
Calc
- 再次与VC++爱好者分享一款基于VC++的简单计算器源码,与Windows自带的计算器风格很相似,学习提高VC编程,就要慢慢学习一些简单的完整小程序,比如这个Calculator源代码,还有一些扫雷等的小游戏,对VC的程序开发很有帮助哦。-Again with the VC++ enthusiasts share a VC++ based simple calculator source code, and Windows calculator style is very similar to
BmpNonClient
- 真心不错的窗体绘制技巧,VC++使用BMP位图绘制漂亮的对话框和窗体,先看下测试截图怎么样?漂亮吧?大致说下实现的思路:绘制对话框非客户区域,计算标题栏的高度,获取窗口区域。 第一步绘制对话框的左边框,计算对话框边框的宽度; 第2步绘制对话框的左标题栏,记录左标题栏的宽度; 第3步绘制对话框的右标题栏; 第4步绘制对话框中间标题栏; 第5步绘制对话框右边框; 第6步绘制对话框第边框-Really good form drawing sk
FillRC
- VC图像填充选区的源码实例,实现思路:CBrush brush(RGB(255, 128, 128))定义一个颜色画刷,使用颜色填充区域,加载位图,创建位图画刷,使用位图填充区域,释放画刷对象,定义一个区域对象,绘制矩形边框,创建一个矩形选区,组合选区,获取两个选区的公共部分,将选区对象附加一个选区句柄,填充选区,释放选区句柄等-Source code examples VC image fills the constituency, the realization of ideas: CBru
TextOnBmp
- VC++在BMP图片上显示文本,是一个VC++窗口绘图的例子,JPG格式图片未做测试。显示文字主要是使用TextOut方法,完整的过程是:定义位图对象,加载背景位图,获取位图信息(图像宽度和高度),获取窗口客户区域,获取窗口设备上下文,定义一个内存设备上下文,CreateCompatibleDC方法创建与pDC兼容的设备上下文,选中位图对象在窗口中绘图,设置透明的背景模式,输出文本-VC++ to display text on the BMP picture window is a VC++
send
- 广播通信发送端:局域网的距离短,并且一个网段都是归于一个小的单位所有,其保密性没有广域网要求高,所以采取广播通信。-Broadcast Communications sending end: LAN short distance, and a segment is attributed to a smaller unit at all, it is no WAN confidentiality requirements, so take a broadcast communications.
Gdiplus
- VC++环境下使用的Gdiplus类库包文件,内含gdiplus.dll,BaseTsd.h,GdiPlus.h,GdiPlus.lib,GdiPlusBase.h,GdiPlusBitmap.h,GdiPlusBrush.h,GdiPlusCachedBitmap.h,GdiPlusColor.h,GdiPlusColorMatrix.h文件,还有GdiPlusEnums.h,GdiPlusFlat.h,GdiPlusFont.h,GdiPlusFontCollection.h,GdiPlus
CaptionBtn
- VC++按钮自绘示例,绘制出与默认风格不一样的窗体最大化、最小化和关闭按钮,看到右上角那蓝色的圆形按钮了吗?是不是要比默认的关闭按钮漂亮多了?是不是很想知道如何用VC实现呢?就请下载本例的完整源码吧-VC++ custom drawing buttons example, draw maximize the default style is not the same form, minimize and close buttons, see the top right corner of the
FontForm
- 一个文字闪烁变换颜色的启动窗体,在文字闪烁和变色几次后消失,主窗体才显示出来,制作启动窗体的朋友可参考一下源码。使用Font.CreateFont和CPen对象创建字体和画笔,用TextOut输出文本。-Change the color of a text blink startup form, after a few words flicker and color disappears, the main form show up, start making friends can refer
vcgettubiao
- VC.net如何直接从文件中装入一个图标呢?把图标从文件中提取出来,请参阅本例的源代码吧,或许会有意外收获。之前的类似源码比较少,所以这个VC源码有必要参考一下。-VC.net how to load an icon directly from the document? The icon is extracted from the file, please refer to the source code for it in this case, there may be a windfall
