Location:
Search - cwnd create
Search list
Description: This source make CView window under CView using CWnd control. You need Visual C++ 7.1 to read this source project. I create this project on Visual Studio .NET 2003.
Platform: |
Size: 3623 |
Author: 扬子昌 |
Hits:
Description: This source make CView window under CView using CWnd control. You need Visual C++ 7.1 to read this source project. I create this project on Visual Studio
Platform: |
Size: 88604 |
Author: 扬子昌 |
Hits:
Description: 1.BOOL OnCommsCreate(CWnd* pParentWnd)
创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为this。
2. BOOL OnComportOpen()
根据串口设置文件中的设置参数,打开多串口。
3.void OnCommSend(unsigned int uiCom, CString sSendData, unsigned int uiKind)
往指定串口发送数据。其中uiCom为指定的串口,注意串口1的uiCom为0;sSendData为要发送的字符串; uiKind: 发送数据类型:0:原始数据 1:加回车符 2:加校验和。
4.void OnMscommsSet()
打开串口设置界面,改变串口设置,并保存到设置文件中。
5.BOOL OnComportTimerProcess(CString strProcess[MaxPort])
判断串口接收的一组数据是否已经接收完。
6. BOOL OnPopupDialog()
打开串口收发数据显示调试界面。
7. BOOL OnGetPortUse(unsigned int uiCom) .
判断指定串口是否使用。
8. BOOL OnGetPortExit(unsigned int uiCom)
判断指定串口在本机上是否存在。
9. void OnPortClose(unsigned int uiCom)
关闭指定串口。
10. void OnPortOpen(unsigned int uiCom)
打开指定串口。
11. void OnCloseAllPorts()
关闭所有串口。
12. void OnOpenAllPorts()
打开所有串口。
-1.BOOL OnCommsCreate (CWnd * pParentWnd) Serial create the DLL while creating five serial. PParentWnd pointer to the window, but generally this. 2. BOOL OnComportOpen () Serial document under the parameters set to open multiple serial. 3.void OnCommSend (unsigned int uiCom, redeem sSendData, unsigned int uiKind) sent to the designated serial data. UiCom them for a specific serial port, a serial port to the uiCom 0; SSendData to be sent to the string; UiKind : Send data types : 0 : raw data 1 : Add two carriage returns : plus checksum. 4. OnMscommsSet void () set to open serial interface, serial port settings and set up to preserve documents. 5. BOOL OnComportTimerProcess (redeem strProcess [MaxPort]) Serial judgment of a group receiving data has been received End. 6. BOOL OnPopupDialog ()
Platform: |
Size: 921143 |
Author: 刘伟 |
Hits:
Description: The CNSChartCtrl control class is derived from CWnd. The purpose is to create pie and bar charts in a dialog (also in a view) with editable fill colors and values, in runtime. Originally, the source code and project was written and compiled with Visual C++ 6.0 SP5 under Windows 98 it also was run in later versions.-The CNSChartCtrl control class is derived from CWnd. The purpose is to create pie and bar ch arts in a dialog (also in a view) with editable fi ll colors and values, in runtime. Originally, the source code and project was written and comp IIED with Visual C 6.0 SP5 under Windows 98 it als o was run in later versions.
Platform: |
Size: 6863 |
Author: 小叹号 |
Hits:
Description: 本文提出了一组可以用来动态创建UI的类。该代码是集中于一个空闲池使用管理器的CWnd继承控件,该管理器可以帮助我们减少在特定UI场景中GDI资源的使用。为了在运行中演示这些类,我已经在此提供了一个MDI应用示例,它只是让你来打开XML文件。每个XML文件为单个MDI子窗体定义了布局和UI控件属性。尽管代码是用VC6写的,示例项目也可以被转换为VS 2003 和VS 2005项目。
-This paper presents a group can be used to create dynamic UI class. The code is focused on the use of a leisure pool of management succession CWnd Controls The manager can help us reduce the specific UI scene GDI resource use. In order to demonstrate the operation of this type, I have here provided a sample MDI application, it is just to let you open an XML file. XML documents for each MDI child windows single definition of the layout and UI control attributes. Although the code is written using VC6, examples of projects can be converted to VS 2003 and VS 2005 project.
Platform: |
Size: 61044 |
Author: gongshenglai |
Hits:
Description: 本文提出了一组可以用来动态创建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 of a leisure pool of management succession CWnd Controls The manager can help us reduce the specific UI scene GDI resource use. In order to demonstrate the operation of this type, I have here provided a sample MDI application, it is just to let you open an XML file. XML documents for each MDI child windows single definition of the layout and UI control attributes.
Platform: |
Size: 97352 |
Author: fish6 |
Hits:
Description: This source make CView window under CView using CWnd control. You need Visual C++ 7.1 to read this source project. I create this project on Visual Studio .NET 2003.
Platform: |
Size: 3072 |
Author: 扬子昌 |
Hits:
Description: This source make CView window under CView using CWnd control. You need Visual C++ 7.1 to read this source project. I create this project on Visual Studio
Platform: |
Size: 88064 |
Author: 扬子昌 |
Hits:
Description: The CNSChartCtrl control class is derived from CWnd. The purpose is to create pie and bar charts in a dialog (also in a view) with editable fill colors and values, in runtime. Originally, the source code and project was written and compiled with Visual C++ 6.0 SP5 under Windows 98 it also was run in later versions.-The CNSChartCtrl control class is derived from CWnd. The purpose is to create pie and bar ch arts in a dialog (also in a view) with editable fi ll colors and values, in runtime. Originally, the source code and project was written and comp IIED with Visual C 6.0 SP5 under Windows 98 it als o was run in later versions.
Platform: |
Size: 6144 |
Author: 小叹号 |
Hits:
Description: Multiple control bars in a frame window, selective hiding and showing of control bars, and dynamic rearrangement of controls along the border of the frame window. The control bars are allocated space in the frame window according to their Z-order, which initially is the order in which they are created (see CMainFrame::OnCreate). CTRLBARS changes the Z-order of the dialog bar with the CWnd::SetWindowPos function. It hides or shows a control bar using CWnd::ShowWindow. Whenever CTRLBARS changes the Z-order or hides or shows a control bar, it calls CFrameWnd::RecalcLayout afterward so that the window real estate is reallocated to the remaining visible control bars.
-Multiple control bars in a frame window, selective hiding and showing of control bars, and dynamic rearrangement of controls along the border of the frame window. The control bars are allocated space in the frame window according to their Z-order, which initially is the order in which they are created (see CMainFrame:: OnCreate). CTRLBARS changes the Z-order of the dialog bar with the CWnd:: SetWindowPos function. It hides or shows a control bar using CWnd:: ShowWindow. Whenever CTRLBARS changes the Z-order or hides or shows a control bar, it calls CFrameWnd:: RecalcLayout afterward so that the window real estate is reallocated to the remaining visible control bars.
Platform: |
Size: 21504 |
Author: srom chen |
Hits:
Description: 本文提出了一组可以用来动态创建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 of a leisure pool of management succession CWnd Controls The manager can help us reduce the specific UI scene GDI resource use. In order to demonstrate the operation of this type, I have here provided a sample MDI application, it is just to let you open an XML file. XML documents for each MDI child windows single definition of the layout and UI control attributes.
Platform: |
Size: 97280 |
Author: fish6 |
Hits:
Description: MFC窗口风格浏览器,而且不用重新编译
CWnd::CreateEx()实现的组合风格,
CWnd::ModifyStyle和ExStyle实现的增加和删除功能-MFC style browser window, and do not recompile CWnd : : CreateEx (), a combination of style, CWnd : : ModifyStyle ExStyle and achieve growth and delete functions
Platform: |
Size: 151552 |
Author: 张海玉 |
Hits:
Description: 讲述MFC AppWizard的原理与MFC程序框架的剖析。AppWizard是一个源代码生成工具,是计算机辅助程序设计工具,WinMain在MFC程序中是如何从源程序中被隐藏的,theApp全局变量是如何被分配的,MFC框架中的几个类的作用与相互关系,MFC框架窗口是如何产生和销毁的,对窗口类的PreCreateWidow和OnCreate两个函数的着重分析,Windows窗口与C++中的CWnd类的关系。-MFC AppWizard on Principle and analysis of MFC Framework. AppWizard is a source code generation tool that is computer-aided process design tools, WinMain in MFC process is how to from the source was hidden, theApp global variable is how the distribution, MFC framework of several types of roles and mutual relations, MFC frame window is how the generation and destruction of the window class PreCreateWidow and OnCreate function of the focus on analysis of the two, Windows window with the C++ the CWnd class relations.
Platform: |
Size: 126976 |
Author: sanpian |
Hits:
Description: 讲述MFC AppWizard的原理与MFC程序框架的剖析。AppWizard是一个源代码生成工具,是计算机辅助程序设计工具,WinMain在MFC程序中是如何从源程序中被隐藏的,theApp全局变量是如何被分配的,MFC框架中的几个类的作用与相互关系,MFC框架窗口是如何产生和销毁的,对窗口类的PreCreateWidow和OnCreate两个函数的着重分析,Windows窗口与C++中的CWnd类的关系。-MFC AppWizard on Principle and analysis of MFC Framework. AppWizard is a source code generation tool that is computer-aided process design tools, WinMain in MFC process is how to from the source was hidden, theApp global variable is how the distribution, MFC framework of several types of roles and mutual relations, MFC frame window is how the generation and destruction of the window class PreCreateWidow and OnCreate function of the focus on analysis of the two, Windows window with the C++ the CWnd class relations.
Platform: |
Size: 228352 |
Author: sanpian |
Hits:
Description: 讲述MFC AppWizard的原理与MFC程序框架的剖析。AppWizard是一个源代码生成工具,是计算机辅助程序设计工具,WinMain在MFC程序中是如何从源程序中被隐藏的,theApp全局变量是如何被分配的,MFC框架中的几个类的作用与相互关系,MFC框架窗口是如何产生和销毁的,对窗口类的PreCreateWidow和OnCreate两个函数的着重分析,Windows窗口与C++中的CWnd类的关系。-MFC AppWizard on Principle and analysis of MFC Framework. AppWizard is a source code generation tool that is computer-aided process design tools, WinMain in MFC process is how to from the source was hidden, theApp global variable is how the distribution, MFC framework of several types of roles and mutual relations, MFC frame window is how the generation and destruction of the window class PreCreateWidow and OnCreate function of the focus on analysis of the two, Windows window with the C++ the CWnd class relations.
Platform: |
Size: 1044480 |
Author: sanpian |
Hits:
Description: 讲述MFC AppWizard的原理与MFC程序框架的剖析。AppWizard是一个源代码生成工具,是计算机辅助程序设计工具,WinMain在MFC程序中是如何从源程序中被隐藏的,theApp全局变量是如何被分配的,MFC框架中的几个类的作用与相互关系,MFC框架窗口是如何产生和销毁的,对窗口类的PreCreateWidow和OnCreate两个函数的着重分析,Windows窗口与C++中的CWnd类的关系。-MFC AppWizard on Principle and analysis of MFC Framework. AppWizard is a source code generation tool that is computer-aided process design tools, WinMain in MFC process is how to from the source was hidden, theApp global variable is how the distribution, MFC framework of several types of roles and mutual relations, MFC frame window is how the generation and destruction of the window class PreCreateWidow and OnCreate function of the focus on analysis of the two, Windows window with the C++ the CWnd class relations.
Platform: |
Size: 46080 |
Author: 王英妹 |
Hits:
Description: MFC AppWizard的原理与MFC程序框架的剖析。AppWizard是一个源代码生成工具,是计算机辅助程序设计工具,WinMain在MFC程序中是如何从源程序中被隐藏的,theApp全局变量是如何被分配的,MFC框架中的几个类的作用与相互关系,MFC框架窗口是如何产生和销毁的,对窗口类的PreCreateWidow和OnCreate两个函数的着重分析,Windows窗口与C++中的CWnd类的关系。-MFC AppWizard Principle and analysis of MFC Framework. AppWizard is a source code generation tool is computer-aided design tools, WinMain in MFC process is how from the source was hidden, theApp global variable is how to be allocated, MFC in the framework of the several types of roles and each other relations, MFC framework of the window is how to produce and destruction of the window class PreCreateWidow and OnCreate focus on analysis of the two functions, Windows window and C++ of CWnd type relationship.
Platform: |
Size: 45056 |
Author: 董宇 |
Hits:
Description: 你可以经过两步构造一个子窗口。首先,调用构造函数,创建一个CWnd对象。然后调用Create,创建一个Windows的子窗口,并将它连接到CWnd。Create函数初始化窗口的类名、窗口名,并为它的风格、父窗口和ID注册值-After two steps you can construct a sub-window. First, call the constructor to create a CWnd object. Then call Create, create a Windows sub-window, and connect it to CWnd. Create function to initialize the window class name, window name, and for its style, the parent window and ID register value
Platform: |
Size: 64512 |
Author: zmq |
Hits:
Description: This paper presents a group can be used to create dynamic UI class. The code is focused on the use of a leisure pool of management succession CWnd Controls The manager can help us reduce the specific UI scene GDI resource use. In order to demonstrate the operation of this type, I have here provided a sample MDI application, it is just to let you open an XML file. XML documents for each MDI child windows single definition of
Platform: |
Size: 4096 |
Author: tam_tran59 |
Hits:
Description: 直接使用 Cwnd 创建窗口
直接使用 Cwnd 创建窗口-create window by cwnd,
create window by cwnd,
create window by cwnd,
Platform: |
Size: 12288 |
Author: 垃圾 |
Hits: