文件名称:BmpNonClient
介绍说明--下载内容均来自于网络,请自行研究使用
真心不错的窗体绘制技巧,VC++使用BMP位图绘制漂亮的对话框和窗体,先看下测试截图怎么样?漂亮吧?大致说下实现的思路:绘制对话框非客户区域,计算标题栏的高度,获取窗口区域。
第一步绘制对话框的左边框,计算对话框边框的宽度;
第2步绘制对话框的左标题栏,记录左标题栏的宽度;
第3步绘制对话框的右标题栏;
第4步绘制对话框中间标题栏;
第5步绘制对话框右边框;
第6步绘制对话框第边框-Really good form drawing skills, VC++ using BMP bitmap drawing nice dialog boxes and forms, how to look at the test shots? Beautiful, right? Generally speaking achieved under the idea: to draw the non-client area of the dialog box, calculate the height of the title bar, get the window area. The first step in drawing the left border of the dialog box, calculate the width of the dialog border Step 2 draw left the title bar of the dialog box, recording width of the left of the title bar Step 3 to draw the title bar of the dialog right Step 4 Draw dialog title bar in the middle Step 5 draw right of the dialog box Step 6 Draw Borders Dialog section
第一步绘制对话框的左边框,计算对话框边框的宽度;
第2步绘制对话框的左标题栏,记录左标题栏的宽度;
第3步绘制对话框的右标题栏;
第4步绘制对话框中间标题栏;
第5步绘制对话框右边框;
第6步绘制对话框第边框-Really good form drawing skills, VC++ using BMP bitmap drawing nice dialog boxes and forms, how to look at the test shots? Beautiful, right? Generally speaking achieved under the idea: to draw the non-client area of the dialog box, calculate the height of the title bar, get the window area. The first step in drawing the left border of the dialog box, calculate the width of the dialog border Step 2 draw left the title bar of the dialog box, recording width of the left of the title bar Step 3 to draw the title bar of the dialog right Step 4 Draw dialog title bar in the middle Step 5 draw right of the dialog box Step 6 Draw Borders Dialog section
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BmpNonClient\BmpNonClient.clw
............\BmpNonClient.cpp
............\BmpNonClient.dsp
............\BmpNonClient.dsw
............\BmpNonClient.h
............\BmpNonClient.opt
............\BmpNonClient.rc
............\BmpNonClientDlg.cpp
............\BmpNonClientDlg.h
............\ReadMe.txt
............\res\BmpNonClient.ico
............\...\BmpNonClient.rc2
............\...\BottomBand.bmp
............\...\closehotbutton.bmp
............\...\LeftBand.bmp
............\...\LeftTitle.bmp
............\...\maxhotbutton.bmp
............\...\MidTitle.bmp
............\...\minhotbutton.bmp
............\...\RightBand.bmp
............\...\RightTitle.bmp
............\...\Thumbs.db
............\resource.h
............\StdAfx.cpp
............\StdAfx.h
............\res
BmpNonClient