|
|
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) |
|
CPing -- Easily ping a host from Windows |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
CPing -- Easily ping a host from Windows 95 and Windows NT
CPing -- 在Windows 95 和 Windows NT环境中方便地ping一个主机
来源: http://www.codeguru.com/internet/cping.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
List control multiline tooltip(DataTip) |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This article show you a sort of data tip list control plus sophisticated(?) header tool tip.
Implementing data tip in list control is quite easy.
这个项目演示了一种数据提示列表控件,以及复杂的标题工具提示。在列表控件中实现数据提示是非常简单的。
来源: http://www.codeguru.com/listview/DTList.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
SDI/MDI MFC Application in the Windows S |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The right part of the Windows Task Bar is the System Tray. It includes icons of hidden applications such as the system clock dialog, the sound volume dialog, some antivirus programs, and so forth.
Windows任务条的右边是系统托盘。它包括隐藏的应用程序的图标,如系统时钟,音量控制对话框,一些反病毒程序,等等。这个项目演示了系统托盘中的SDI/MDI MFC应用程序。
来源: http://www.codeguru.com/controls/MFCStartUp.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
NetWksta |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Uses NetWkstaGetInfo and NetWkstaUserGetInfo to interrogate the local box for information contained in WKSTA_INFO_102 and WKSTA_USER_INFO_1 (such as domain name, machine name, user name, and so on). More Unicode hoops for VB to jump through. Thanks to Craig Clearman for working through some of these issues with me!
这个项目使用NetWkstaGetInfo 和 NetWkstaUserGetInfo 查询本地窗口中包含在WKSTA_INFO_102 and WKSTA_USER_INFO_1 中的信息(如域名,机器名,用户名,等等)。省略了VB中Unicode 的处理。感谢 Craig Clearman 和我一起解决问题。
来源: http://www.mvps.org/vb/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
HTTP Tunneling (HTTP Proxy Socket Client |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
HTTP is a text-based protocol to retreive Web pages through a Web browser. Mostly if you are on a LAN connection, you are behind a proxy server; this proxy server has one HTTP proxy running on some defined port. In your Internet Explorer's Connection option, you specify LAN settings as required. This proxy server is definitely running on a text-based protocol and you can only get HTTP-related data from the outside network, right!! Well, there is a small loophole from which you can go through HTTP and connect to the outside world and get any data you want in binary protocol, or even your own protocol. It's through HTTPS.
HTTP是一个基于文本的协议,用于通过Web浏览器来检索Web页面。大多数情况下,如果你位于一个局域网连接时,你是在一个代理服务器之后;这个代理服务器在某一端口运行一个HTTP代理。在你的Internet Explorer的连接选项中,你可以按需要说明局域网的设置。这个代理服务器运行一个基于文本的协议,你只能从外部网格中得到HTTP相关的数据。但注意,有一个小漏洞,通过它你可以穿过HTTP,连接到外部世界,得到任何基于二进制协议的数据,甚至基于你自己的协议。这就是通过HTTPS。
来源: http://www.codeguru.com/internet/HttpProxyClient.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
List Control with Tooltips |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This article contains a simple CListCtrl wrapper called CFileDropListCtrl which was made to wrap a CListCtrl so it can display ToolTip text for each item in the control regardless of the style of the view : REPORT, LIST, ICON
这个项目包含了一个对 CListCtrl 的简单的封装,称为CFileDropListCtrl,它可以为控件中的每个项目显示工具条提示,而不管视图的风格: REPORT, LIST, ICON
来源: http://www.codeguru.com/listview/DropListCtrl.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
CSpinEdit that Displays Additional Text |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The CSpinEdit is an alternative control for standard CSpinButtonCtrl, but has new features:  
Supports spinning data with mouse wheel
Automatically increases data when pressing the upper button, but decreases if pressing the lower button
The spinned data type can be integer , float or double
You can specify the decimal digits
The SpinEdit uses inplaced edit control to edit spinned data
CSpinEdit 可以取代标准的CSpinButtonCtrl,新功能有:
支持用鼠标来选定数据
当按上箭头时自动增加数据,按下箭头时自动减少数据
输入的数据类型可以是整形、浮点型或双精度型
你可以说明小数位数
SpinEdit 使用内建的编辑控件来编辑输入的数据
来源: http://www.codeguru.com/controls/SpinEdit.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|