搜索资源列表
zsplitter_demo
- 从CWnd派生的splitter类让你在dialog,property sheet或其它window上分割窗体的一个例子. 作者:Mike Melnikov -CWnd derived from the splitter let you type in the dialog, property sheet or other forms separate window on the one example. Author : Mike Melnikov
Animation-Style_Dialog_Class
- 制作动画的类,很不错的 // construction CAniDialog(UINT nDlgID, CWnd* pParent) CAniDialog(CPoint pt, UINT nDlgID, CWnd* pParent) // operation // access frame number UINT GetFrameNum() const void SetFrameNum(UINT nFrames) // access an
MixColor1
- 除了文本框外,其他的CWnd类也需要改变背景色和文本颜色,那么该如何实现呢-addition to the text box, other CWnd class also need to change the background color and text color, then how to achieve that?
teach_road_4
- VC基础教程 第四章 窗口控件 版权所有 闻怡洋从VC提供的MFC类派生图中我们可以看出窗口的派生关系,派生图,所有的窗口类都是由CWnd派生。所有CWnd的成员函数在其派生类中都可以使用。本节介绍一些常用的功能给大家。 -based VC IV Directory window controls only Wen Yue-yang from the VC MFC category derived map, we window can be seen a derivative, derivati
testfreepool
- 本文提出了一组可以用来动态创建UI的类。该代码是集中于一个空闲池使用管理器的CWnd继承控件,该管理器可以帮助我们减少在特定UI场景中GDI资源的使用。为了在运行中演示这些类,我已经在此提供了一个MDI应用示例,它只是让你来打开XML文件。每个XML文件为单个MDI子窗体定义了布局和UI控件属性。-This paper presents a group can be used to create dynamic UI class. The code is focused on the use o
WM_NCLBUTTONDOWN
- void TransparentWnd::OnLButtonDown(UINT nFlags, CPoint point) { CWnd::OnLButtonDown(nFlags, point) //实现无标题拖动 PostMessage(WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(point.x,point.y)) }-void TransparentWnd : : OnLButtonDown (UINT nF
vwindlg2
- 对guru的dialog中添加单个view进行了修改,为dialog添加两个view,并验证它们的消息不会冲突;而对于cwnd类添加到dialog中,消息会产生冲突。-guru of the dialog to add a single view of changes Add 2 to dialog view, and verify their information will not conflict; For cwnd category added to the dialog, the ne
base64
- CWinApp CDialog CDataExchange CWnd DestroyIcon LoadIcon GetSystemMenu CMenu CString LoadString AppendMenu IsIconic CPaintDC SendMessage GetSystemMetrics CRect GetClientRect DrawIcon ZeroMemory
MDI_background_test
- 如何实现MDI主应用程序的窗体背景呢,答案是采用超级武器---子类化,这样主程序的背景处理部分就由我们自己的类来处理了!具体实现代码如下!从CWnd派生一个类CBGColorWnd,然后分别处理WM_ERASEBKGND和WM_SIZE即可
从CWnd继承,完全自绘的滚动条控件
- 从CWnd继承,完全自绘的滚动条控件,接口和CScrollBar完全一致-Inherited from CWnd, completely self-painted scroll bar controls, exactly the same interface and CScrollBar
Demo
- 最大化和最小化窗口 调用CWnd::SendMessage()发送最大化或最小化窗口消息-Maximize and minimize windows call CWnd:: SendMessage () to send the message window is maximized or minimized
mulview
- 分割窗口将窗口分成几个部分,每个部分通常代表一个视图(但也可以是具有子窗口标识的CWnd对象),又称窗格。-Window will be split window is divided into several parts, each part is usually on behalf of a view [but may also be labeled with the child window CWnd object], also known as pane.
MatrixCtrl
- 这是一个矩阵字体现显示控件,使用简单,首先插入该CMatrixCtrl控件的.h和 .cpp文件到您的项目,添加一个静态控件到您的对话框资源,把静态控件修改声明为CMatrixCtrl类的一个成员变量。-This is an attempt to create a control which looks a little bit like the credits of the Matrix movie. While it isn t the greatest clone of the Matri
other-5
- 本程序从CWnd派生出CGfxOutBarCtrl等若干类,用于实现Outlook 98中的条形控件-This procedure introduced a function BitmapToRegion (), used to convert a bitmap region. It scans the contents of the bitmap to find non-transparent pixels of the continuous line, to increase the lin
customcontrol-gridview
- 继承CWnd和CEdit实现的类似GridView的自定义控件。双击编辑,响应单击消息。使用vs2005.-CEdit inherits CWnd and achieve similar GridView custom control. Double-click edit, click the response message. Using vs2005.
Demo
- 获得指定点的窗口 调用CWnd::WindowFromPoint()-Call to the specified point window CWnd:: WindowFromPoint ()
Demo
- 如何关闭窗口 调用 CWnd::SendMessage函数发送WM_CLOSE消息-How to Close call CWnd:: SendMessage function sends the WM_CLOSE message
gain-CWnd
- 在MFC的窗口中,如何通过HWND获得CWnd指针-MFC window by HWND CWnd pointer
XpMenu
- 用Cwnd实现的菜单效果,和其他的菜单重绘方式不一样,效果很好-Menu Cwnd achieve results, and other menu redraw way with good results
Lesson3Code
- 讲述MFC AppWizard的原理与MFC程序框架的剖析。AppWizard是一个源代码生成工具,是计算机辅助程序设计工具,WinMain在MFC程序中是如何从源程序中被隐藏的,theApp全局变量是如何被分配的,MFC框架中的几个类的作用与相互关系,MFC框架窗口是如何产生和销毁的,对窗口类的PreCreateWidow和OnCreate两个函数的着重分析,Windows窗口与C++中的CWnd类的关系。-About the MFC AppWizard principle and the a
