|
|
A tab-like sheet control |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
A tab-like sheet control
这是一个类似标签的分页控件
来源: http://www.codeguru.com/controls/sheet_control.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
A class module built around the DsGetDcN |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
A class module built around the DsGetDcName function, first made available in Windows 2000, providing a wealth of information about the domain you're running on and its controllers. Shows how to dereference a pointer to a structure that's returned from this API, picking out the required strings, longs, and even a GUID.
这个类模块围绕DsGetDcName 函数创建,首先可以在Windows 2000中使用的,提供了许多有关你运行的域和它的控制者的信息。演示了如何解除指针到一个这个API返回的结构的引用,筛选出不需要的字符串,长整型,甚至是一个GUID。
来源: http://www.mvps.org/vb/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
CSock - To verify timeout socket class |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
In case of using CSocket class, We have problem to verify connction between computers.
This class(CSock) is solving this problem with method below.
CSocket don't return the proper time when it disconnects another socket.
This cause performance of program to down.
在使用CSocket 类时,我们在校验计算机间的连接时会遇到问题。这个类(CSock) 解决了这一问题。当CSocket 和其它套接字断开时不能正确返回时间。这降低了程序的性能。
来源: http://www.codeguru.com/internet/timeoutsocket.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Using Thumbnail Images in a List Control |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This purpose of this article is to show you how to display thumbnail images in a list control.
这个项目的目的是为你演示如何在列表框中显示索引图像。
来源: http://www.codeguru.com/listview/thumbnail.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
An Advanced TabCtrl |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The aim for this project was to control the colors of the TabCtrl. In MFC you are not able to configure your own color combinations for the TabCtrl. With this TabCtrlAdvanced you can choose your own colors for the background, the display area and the TabCtrl items.
这个项目的目的是控制TabCtrl的颜色。用MFC,你不能为 TabCtrl配置你自己的颜色组合。使用这个增强的控件,你可以选择自己的背景色,显示区域和TabCtrl 条目。
来源: http://www.codeguru.com/controls/advanced_tabctrl.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
NetUrl |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Provides a drop-in class that cracks a URL into, or creates a URL from, its constituent parts -- scheme (http, ftp, etc.), hostname, path, username, password, extra data, and port -- taking into consideration which characters may need to be escaped. Extremely useful for parsing user input (see FtpExists for an example). Complete sample included to test the CNetUrl class.
NetUrl提供了一个小型的类,它可以分解URL,并可以创建URL的各组成部分--模式(http, ftp, etc.),主机名,路径,用户名,口令,额外的数据,和端口号--考虑哪些字符可以被省略。对分析用户输入非常有用。完整的例子包含在CNetUrl 类中。
来源: http://www.mvps.org/vb/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Creating a Client/Server Framework |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The program that I have created includes some added features that I believe most people running this would benefit from. From incorporating Chris Maunder and Warren Young's work, you have the option of the server minimizing to the system tray, so that it is out of the way. To fully benefit from this feature, you may want to create a shortcut to the server's executable, and have this shortcut minimize on startup. Also, by using Adam Clauss's inifile class, you have the option of forcing users to log on with a password.
我创建这个程序包含了一些对大多数人有用的功能。吸收了Chris Maunder 和 Warren Young的工作,你可以选择服务器最小化为系统托盘的图标,这样它随时可以使用。为了完全利用这一功能,你需要创建一个对服务器可执行文件的快捷键,在启动时最小化这一快捷键。也可能通过使用Adam Clauss的ini文件类,这样可以强制一个用户用口令登录。
来源: http://www.codeguru.com/internet/clientserver.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Adding Multiline Balloon ToolTips to Lis |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The attached code demonstrates a technique you can use to create multiline balloon ToolTips for ListView column headers.
这个项目演示了技术可以让你为列表视图的列标题创建多行的气球状工具提示。
来源: http://www.codeguru.com/listview/MBTLVCHSample.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Implementing an owner drawn Tab Control |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Implementing an owner drawn tab control requires that the tab control have the "owner draw fixed" style (TCS_OWNERDRAWFIXED), and that it have a mechanism for drawing itself when needed.
To draw the tabs, just override the "DrawItem" function in your derived class. This function accepts a pointer to a DRAWITEMSTRUCT structure, which contains the index of the tab to draw (itemID), a handle to a DC (hDC) and the rectangle in which to draw the tab (rcItem).
实现一自绘制的标签控件需要标签控件具有"owner draw fixed" 的风格(TCS_OWNERDRAWFIXED),它提供了需要时的自绘制机制。为了绘制标签,重载你的派生类中的"DrawItem" 函数。这个函数接受一个指向DRAWITEMSTRUCT 结构的指针,它包含了需要绘制的标签的索引, DC (hDC)的句柄,以及绘制标签的矩形区域(rcItem)
来源: http://www.codeguru.com/controls/ownerdraw_tab.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
NetUser |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Demonstrates the hoops you must jump through to get VB to call the NetXXX functions. Includes a CNetUser class that fully exercises NetUserGetInfo, NetUserGetGroups, and NetUserGetLocalGroups, returning the information found in USER_INFO_3 and GROUP_INFO_2. Also shows how to call the Unicode versions of GetUserName and GetComputerName. Custom functions provide Unicode and numeric data found at the end of pointers returned by unfriendly APIs.
NetUser演示了用VB来调用NetXXX 函数。包括了一个CNetUser 类,它完全使用了NetUserGetInfo,   NetUserGetGroups, and NetUserGetLocalGroups, 返回USER_INFO_3 和 GROUP_INFO_2中提供的有关信息。也演示了调用Unicode 版本的GetUserName 和 GetComputerName。定制的函数提供了在终端打印机由不友好的API返回的Unicode 和数字数据。
来源: http://www.mvps.org/vb/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|