搜索资源列表
切换无切分的视图
- 如果你需要实现多个视图的窗口的显示,那么看看这个是有好处的.这个程序虽然简单,但是他告诉了你怎样去操作多个视图的转换.-If you need to achieve multiple views of the display window, then look at this is a good thing. This procedure is simple, but he tells you how to operate the various View conversion.
透明对话框
- 怎么样,效果不错吧!稍加修改还可以作出淡出淡入的效果. 注意第三个参数(128)不要取得太小了,为0的话完全透明,你就找不到窗体了! 小小心得,一吐为快.希望对初学者有所帮助.如有不妥,欢迎指正. -how kind, good results! Little changes can be made out of the effect fades. The attention of the third parameter (128) not made too small, 0 compl
创建分层窗口实现图像渐变
- 1、有没有方法创建一个半透明的窗口,并将该窗口上发生的所有鼠标事件都传递到桌面或另一个应用窗口处理? 2、我正在写一个幻灯显示程序,该程序要显示JPEG图像序列。我使用了 2002年三月刊专栏文章中的 CPicture 类来绘制图像(参见:C++ Q&A: Do You Have a License for that GIF? PreSubclassWindow, EOF in MFC, and More)。那个程序运行得很好。但我现在想添加从某一张图像到下一张图像的渐变特性。我在网页
capturewin
- 一个能将Windows指定窗口的内容截入BMP文件的程序VC++源代码,即使这个窗口被覆盖也可以做到,也可以截取背景。-a specified window as a BMP file stored procedures VC source code, even if the window can be overwritten so, nor can interception background.
XP_Style_Manage_System
- 该程序利用了ExpressNavBar控件的TdxNavBar,制作了一个具有XP风格的多文档窗体管理系统。 点击打开新窗体时,如果该类型窗体已经存在,则将该子窗体置顶显示。-use of the procedure ExpressNavBar Control TdxNavBar, produced XP style with a multi-document window management system. Click to open new windows, if this type
BeautifulFace
- 一个华丽的界面 使用方法 方法一: ModifyStyle( WS_CAPTION, WS_MINIMIZEBOX, SWP_DRAWFRAME ) //设置图标 方法二: 不用上面的,但是要去掉对话框的title属性 void CPageDlg::OnPaint() { if (IsIconic()) { ... } else { // CDialog::On
ViewPicture
- VC++下开发的浏览图像文件程序,只要双击可执行文件,就能运行程序,若提示没有所指定的数据库,可以自己指定数据库。-development of the VC View images documentation procedures, as long as you double-click the executable, we will be able to run the program, If no prompt specified by the database, the database
GuiLibwithMFC
- 著名的界面源码,使用MFC,demo中实现了很多著名的界面,如VC2003、OutLook、Office、PowerPoint等的界面。-famous source interface using MFC, the demo to fulfill the many famous interface, If VC2003, OutLook, Office, PowerPoint, and other interface.
ybkj2
- 在工业控制软件中经常要显示测量数据,如果在在界面上单纯显示一些数字会显得很单调,如果能在软件中添加色泽艳丽的控件,就一定会为你的软件增色不少,让人有爽心悦目的感觉。本文就介绍一款这样的仪表控件。-in industrial control software often measured data to show that, If the interface simply shows that some figures may seem monotonous, if the software ca
02-yaoshenyibin
- 02 摇身一变 也很简单,重载了一下OnKeyDown,只要按上下箭头键,窗口就一边摇晃一边变大变小。-02 suddenly very simple, a little heavy OnKeyDown, if by next arrow keys, window on the side of the rocking side into small change.
Alpha
- This sample shows how to use 32-bit (alpha channel) images with toolbars and command bars. It also displays them only if running on Windows XP with themes enabled, while it displays standard 4-bit images in other cases.
window_Cwnd
- 实现窗口透明 只需在创建窗口函数中加入 SetWindowLong(this->GetSafeHwnd(),GWL_EXSTYLE, GetWindowLong(this->GetSafeHwnd(),GWL_EXSTYLE)^0x80000) HINSTANCE hInst = LoadLibrary(\"User32.DLL\") if(hInst) { typedef BOOL (WINAPI *MYFUNC)(HWND,COL
dlgsplashscring
- 很多基于对话框的程序都有一个启动画面,那么如何为自己的对话框程序也加一个这样的画面呢?其实VC++开发环境中有一个现成的 Splash Screen 组件,用这个组件很容易实现基于框架类(也就是CMainFrame)的程序的启动画面,那么如果是对话框程序,没有框架类怎么办呢?所以这个组件功能不是想象的那么强。要实现基于对话框应用程序的启动画面必须另辟蹊径。这里提供一个可重用代码例子,一步一步教你实现每一个细节。利用一个定制的C++类:CSplashWnd,增强原来的 Splash Screen
C++ 中不规则窗体的快速显示
- 传统的WINDOWS应用软件界面给人的感觉总是千篇一律的方方正正的窗体,看的时间长了难免会有些厌烦,总是希望能见到些不同一般的软件界面。如今,相当数量的商业软件在提供优秀而强大的功能的同时,软件的界面也是做得越来越漂亮,比如《超级解霸2000》中的界面插件,使用过的人一定对其华丽的外观充满好感。作为一个编程爱好者,如果自己写出的软件也拥有类似的界面,也许会吸引更多目光的注视。那么,我们现在就开始动手制作自己的漂亮界面吧。-traditional Windows application softw
对话框的调用
- 两个对话框的互相调用,特别简单,如果是牛人就不要大笑,可以小声的笑-two called each other the dialog, especially simple, if it is not on cattle laughing, laughing softly
Openfolder
- 一个调用API打开系统目录对话框的例子,如果有更好的方法,不要忘了也给我一份-an API call open system directory dialog example, if there is a better way, do not forget also gave me a copy of
(实例032)屏蔽关闭、最大化、最小化按钮
- 每个窗体的标题栏上都设置了\"关闭\",\"最大化\"\"最小化\"按纽.如果不想使用这些按纽,运行程序,窗体标题栏上的关闭.最大化.最小化按纽均不可用.-Biaodilanshang have set up a "closed", "maximize" "minimize" button. If we do not want to use these buttons, operating procedures, forms Biaod
CatWork0506
- 计算MDI子窗口数,仅显示文件夹的打开对话框 < 窗口管理 > 1、我正在写一个 MFC 的多文档(MDI)应用。在父窗口中,我如何检查所有的MDI子窗口是否都已经关闭?如果都关闭了,那么我想在我的主窗口激活一个窗格。 2、我正在用 Visual Studio .NET 和 MFC 做一个程序。在我的程序里,用户要选择一个文件夹,并在其中拷贝文件。我可以调用 OpenFileDialog 让用户选择某个文件,但如何让打开对话框只显示文件夹呢?我见过好多安装程序给出的对话框里只显示文件
TextExtent2
- 将程序中所有输出的字符间距加宽10 像素,拦截了EXTTEXTOUT输出,只作了简单的处理,所以显示效果比较走样.如果你有好方法 请一定告诉我.-The output of the program in all 10 pixels wider character spacing, blocking EXTTEXTOUT output, only briefly, so I display more out of shape. If you have a good way, please let
SetWndRgn
- 异形窗口创建,可以通过位图创建个性化的任意形状的窗口-Create Abnormity Window,if you want to create your own style Window, this is a good choose