lover0222

积分:305
上传文件:6
下载次数:1
注册日期:2005-05-12 11:04:03

上传列表
tabtoolbardemo_src.zip - Because my application required the use of a lot of tools (just like 3DS Max), I decided to implement this control. Here I shall share with you the most important details of creating the tabbed toolbar. The implementation of the control is quite simple, actually. The control is primarily a Dialog Bar that manages a tab control and a Tool Bar. Thus, the class is derived from CDialogBar and it creates the CTabCtrl and CToolBar objects. The actual creation of the Tab control and toolbar occurs in the Create function of the Dialog Bar. 创建一个制表工具栏 因为我的应用需要使用许多工具(像3DS Max),我决定实现这个控件。 在这里我将和你共同分享创建制表工具栏的最重要的细节。 实际上控件的创建相当简单。这个控件主要是管理一个制表控件和一个工具栏的对话框。因此,这个类从CDialogBar类继承并且它创建了CTabCtrl 和CToolBar对象。实际上制表和工具栏控件的创建发生在DialogBar函数的创建过程中。,2004-06-30 07:40:11,下载375次
ADOWrapper_demo.zip - This article is based in part on Bob Place s ADO is AOK (a simple ADO tutorial). Wrapper Usage This is consist of 2 classes. CDyndb : This Class manages connections and recordsets. Recordsets are organized as linked list (CList) and you can access them using their ids. CDynRec : This class is the node to populate for each recordsets. ADO封装器类 这篇文章一部分基于Bob Place的《ADO is AOK》 (简单的ADO指导) 。 包裹的用法 由2个类组成。 类CDyndb: 这个类别管理连接和记录集。记录集是连接起来的记录的集合,你可以通过他们的ID访问他们。 类CDynRec: 这个类别存放记录集的代码。,2004-06-29 22:41:40,下载39次
ScrollBitmap_demo.zip - Displaying a large bitmap file on a dialog box, in its original size, is quite difficult in the VC++ environment. However, it is possible to display a large bitmap to a predefined area of the dialog by using the StretchBlt( ) function.The major disadvantage of this is that the clarity of the image will be lost. Check out this article for displaying large bitmaps into the desired area of your dialog box in its original size with a scrolling technique used to show the entire bitmap. 滚动显示位图 在VC++环境下,在一个对话框中显示一个原始尺寸的大小的位图文件相当是困难的。然而,通过使用 StretchBlt()函数一个给定的区域显示一个大的位图是可能的。主要的缺点是图像将会失真。看了这篇通过卷动技术显示整个位图技术的文章,你将能够以它的原始尺寸在给定对话框的区域内显示一个大位图。 来源: http://www.codeguru.com/bitmap/ScrollBitmap.html,2004-06-29 22:40:33,下载213次
WndToBmpFile.zip - I have written this article to capture a Windows image into a bitmap file that will support all PaintBrush tools and Thumbnail Views of Windows Explorer. I have found many programmers suffering from this problem, including me, until I wrote this article. 捕获一个窗口图像并存入一个支持MS画笔的位图文件中 我写的这篇文章介绍了捕获一个窗口图像并存入一个支持所有画笔和Windows Explorer的位图文件中。 我发现许多程序员因这个问题而烦恼,包括我在内,直到我写了这篇文章。 来源: http://www.codeguru.com/bitmap/WndToBmpFile.html,2004-06-29 22:38:52,下载55次
SDI_Note_demo.zip - This simple SDI Notepad-like application demonstrates how, taking advantage of the MFC support for Unicode, to Turkmenize labels of the specified menu items. Actually, Turkmen is not supported by Windows 2000, therefore, to create such resources as menu so that strings in Turkmen could be displayed I had to invent an additional technique 这是一个与记事本类似的简单的SDI应用程序,演示了怎样使用MFC来支持 Unicode,对指定的菜单条目进行Turkmenize标签化。实际上,Windwos 2000并不支持Turknen,因此,创建了那些菜单资源以便那些字符串可以在Turknen中显示,为此我必须开发其它的技术。 来源: http://www.codeguru.com/advancedui/SDI_Note.html,2004-06-29 22:34:26,下载31次
CustomCaptions_demo.zip - This article presents some classes that make customising window captions really quick and easy. Using these classes you can change the background colour and the text font and colour of both the active and inactive window captions independently for any windows you choose. I also provide an example class that allows a bitmap to be used as the caption background, e.g. for logos, or wood or stone effects. Framework for Creating Custom Window Captions 创建自定义窗体标题的框架 这篇文章说明了可快速简单的创建自定义窗口标题的框架的一些类。 使用这些类你能独立的改变任何你所选择的窗体的背景颜色,文本字体以及激活和未激活的窗口标题的颜色。我也提供一个使用一个位图作为标题背景的例子类,如作为徽标,木材或石头效果。 ,2004-06-29 22:28:32,下载37次

近期下载

收藏