Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - MFC t
Search - MFC t - List
DL : 0
Tree views are capable of storing hierarchical data, which isn t intuitively serialized. The TreeStore sample is an MDI application which shows a view based on CTreeView and demonstrates loading and saving the content of the control with MFC s CArchive-based serialization. The code is also rife with calls to the item navagation routines of CTreeCtrl, including GetNextSiblingItem(), GetPrevSiblingItem(), and GetParentItem().
Date : 2008-10-13 Size : 41.06kb User : 陈伟

为MFC应用程序添加全屏幕显示功能 部分代码: 成员变量: BOOL m_bFullScreen //全屏幕显示标志 CRect m_FullScreenWindowRect //全屏幕显示窗口Rect WINDOWPLACEMENT m_wpPrev //用于保存正常视图时的窗口位置信息 CToolBar * m_wndFullScreenBar //全屏幕显示时的浮动工具条 成员函数: void OnMenuFullscreen() //全屏幕显示的处理函数 void OnGetMinMaxInfo() //捕获WM_GETMINMAXINFO消息以便允许你增加窗口大小 void OnUpdateViewFullScreen() //更新“全屏幕显示”菜单的状态 省略-MFC applications to add full-screen display of code : member variables : BOOL m_bFullScreen / / Full screen display signs CRect m_FullScr eenWindowRect / / Full screen display window Rect WINDOWPLACEMEN T m_wpPrev / / View for the preservation of the normal window of information CToolBar * m_wn dFullScreenBar / / full-screen display of floating tool for members of the function : OnMenuFullscreen void () / / Full screen showed that the processing function void On GetMinMaxInfo () / / catch information to allow WM_GETMINMAXINFO Xu you increase the window size void OnUpdateViewFullScreen () / / updated "Full screen shows that the" state of the menu omitted.
Date : 2008-10-13 Size : 4.39kb User : a

its a useful code. Use this to hide MFC window. when your window code don t want to show other users. -its a useful code. Use this to hide MFC windo w. when your window code do not want to show other u sers.
Date : 2008-10-13 Size : 34.52kb User : 郭迎祥

一个简单的交互式绘图程序(MFC) 可以选择图形的种类(直线、折线、矩形、[椭]圆、多边形及对应的填充图形)、绘图颜色(使用颜色公用对话框)、笔的粗细和风格、填充模式(包括填充颜色[与图案])、背景模式与颜色; 可以动态拖动绘图,并显示鼠标当前位置坐标以及拖动矩形的大小; [可以用选择的字体、大小和颜色(使用字体公用对话框)在指定的位置按指定的对齐方式来输出文字串; 可以清屏(调用CWnd类的函数Invalidate()或用背景色画填充客户区矩形)、可以按Esc键取消正在进行的绘图操作; 各种操作和选择有对应的菜单项,且有对应的工具条按钮和加速键。-a simple interactive mapping procedures (MFC) can choose the type of graphics (line, broken line, rectangle, [elliptical] Yuan, polygons and the corresponding filling graphics), mapping color (color use common dialog), T thicknesses, and style, fill patterns (including color filled [logo]), background patterns and colors; dynamically scrolling graphics, and display the current location coordinates of the mouse and drag the rectangular size; [can choose the font, Size and color (using common font dialog box) in a designated area designated by the alignment output text string; can the screen (called CWnd class function Invalidate () or with the background color paintings filled rectangular area customers ), the Esc key can be canceled by the ongoing mapping operation; various operational and
Date : 2008-10-13 Size : 1.07mb User : 剣心
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.