|
|
OE New Message with Attachment from MIME |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This program is very useful when you want to send a message with an attachment if you use Outlook Express like your default program for sending or receiving messages. It is also useful in case of sending your documents from database, because it writes your attachment and puts it in a message.
当你想发送带有附件的消息,并使用 Outlook Express作为收发邮件的缺省程序,这个程序是很有用的。它也可以用于从数据库发送你的文档,因为它生成你的附件,并将它放在一个消息中。
来源: http://www.codeguru.com/internet/EMail.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Drawing any N-sided Polygon |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Recently I had to develop a Graphics Software and wanted to add support for drawing any N-sided Polygon. When I started, I thought that I would have to develop code for every 'N' separately. After churning my head in trigonometry for a couple of hours, I realized that effectively 20 lines of code would do the job.
画任意的N边多边形
最近我开发展了一个图形软件并且增加支持画任意的 N边多边形。当我开始的时候,我感觉我必须分开的为每个情况开发代码。在头脑混乱几个小时之后,我发现20行的有效程序编码就能实现这个功能。
来源: http://www.codeguru.com/gdi/Polygon.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Saving a Web Page Into A Single File |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Do you ever want to save a web page into one single file, including pictures and text? You can use IE SaveAs command, but the drawback is obvious, the Save As dialog is always shown up for security reason. There is a complicated work around to avoid the Save As dialog .
你曾经需要将一个Web页面保存到一个单独的文件,包括图片和文本吗?你可以使用IE SaveAs 命令,但缺点是明显的,出于安全原因。这个复杂的项目可以避免使用Save As 对话框。
来源: http://www.codeguru.com/ieprogram/SaveWholePage.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Playing with ColorMatrix |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
GDI+, the new Windows graphics API, comes with a ColorMatrix. It's a pity that ColorMatrix is just a simple struct, without any member functions. And it's also a pity that Microsoft's documentation is very, very sketchy. It's a pity, because you can do some really nice things with color matrices. Some of these things are near to impossible with other means. That's why I wrote an extension class, QColorMatrix, to open up the possibilities of color matrices in GDI+.
处理颜色矩阵
GDI+,新的Windows图形API,中提供了一个ColorMatrix。很可惜,ColorMatrix 只是一个简单的结构,没有任何成员函数。而且Microsoft的文档也很粗略。其实你可以用颜色矩阵做更多漂亮的事情。其中一些事件用其它方法几乎是不可能完成的。这就是为什么我编写了这个扩展的类,QColorMatrix, 来在 GDI+中使用颜色矩阵。
来源: http://www.codeguru.com/gdi/Tinter.html |
分 类:
此源码项目还没有在软件分类表中分类. |
许可证:
GNU General Public License (GPL) |
|
Dial-Up connection |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
There is a code for Dial-Up connection. This task can be done by using CInternetSession::GetFtpConnection() function for example, but only if all parameters in dial-up dialog are present (and then you don't set username, password and phone number programaticaly).
这是一个用于拨号连接的应用程序。可以通过CInternetSession::GetFtpConnection() 来完成这一功能,但需要提供拨号对话框中的所有参数(但你看不到用户名,口令,和电话号码)。
来源: http://www.codeguru.com/internet/dialup.shtml |
分 类:
此源码项目还没有在软件分类表中分类. |
许可证:
GNU General Public License (GPL) |
|
Crosshairs and supporting text that move |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Not long ago, I was asked to implement a crosshair functionality in an OCX control that displays graphical data. Recalling that I saw something on CodeGuru, I found Paul Shaffers article ROP Codes, Rubber Bands, Clip Regions & Coordinate Transforms, which shows how to draw Rubberbands and which explores GDI map modes and coordinate transforms.
十字线和支持移动的文本
不久前,我被要求在一个显示图形的OCX控件中实现一个十字线功能。回想起我在CodeGuru上看到的材料,我发现Paul Shaffers的文章,《ROP Codes》, 《Rubber Bands》, 《Clip Regions & Coordinate Transforms》中介绍了该如何画Rubberbands以及探索GDI绘制模式和坐标转换。
来源: http://www.codeguru.com/gdi/crosshair.html |
分 类:
此源码项目还没有在软件分类表中分类. |
许可证:
GNU General Public License (GPL) |
|
FTP File Browser (with source!) |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Many times I have needed to browse an FTP site and download a file. However, I could never locate any code to show me how. Therefore, I wrote a C++ class that enables you to browse and download files from any FTP site.
To use this class, simply insert the following files into your project:
FtpFileBrowse.cpp
FtpFilebrowse.h
CProp.cpp
CProp.h
我经常需要浏览一个FTP站点,下载文件。但是我从来没有见过完成这一功能的代码。所以我自己编写了一个C++类,它可以让你浏览FTP站点并下载文件。
为了使用这个类,只要将下列文件加入到你的项目中:
FtpFileBrowse.cpp
FtpFilebrowse.h
CProp.cpp
CProp.h
来源: http://www.codeguru.com/internet/FtpBrowse.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Displaying Multiple Views in IE |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This article demonstrates the technique of dynamically creating multiple Views at run-time and opening Web pages on the Views created. The number of views created depends on the list of Web pages saved at the root of the Favourites in your Internet Explorer.
这个项目演示了运行时动态创建多视图,并在创建的视图中打开Web页面。创建的许多视图依赖于在你的Internet Explorer的收藏根目录中保存的Web页面。
来源: http://www.codeguru.com/ieprogram/FavMV.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
JTDraw Update |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
JTDraw was a simple drawing program started from a Microsoft Drawcli project. It was a small part of code from one of the projects that I developed for the visualization of a metabolic pathway. (My major is chemical engineering.) Based the questions and suggestions that have been given to the topic, I decided to release more code examples from my own project. The current version of Draw project includes the following features
JTDraw更新
JTDraw是开始于微软公司Drawcli工程的一个简单的画图程序。它是来自我开发的可视化路径代码中的一小部份。(我主修科目是化学工程)。基于标题的问题和提议,我决定从我的工程中开发更多的实例代码。 当前画图工程的版本包括下列各项功能
来源: http://www.codeguru.com/gdi/jt2draw.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Rotate your graphics - advanced memory d |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
I recently downloaded the CMemDC class published by Keith Rule
It faces the following problem: If you perform rather huge operations on a device context (in an OnPaint(), for example), your display sometimes flickers around rather badly.
To circumvent this problem, Keith has designed CMemDC which creates a compatible "memory" device context in which you draw alternatively.
旋转你的图形 - 高级内存环境装置
我最近下载了由Keith Rule 发布的CMemDC类。它面临下列各项问题:如果你在一个环境装置中运行相当极大的运算(如在OnPaint()中),你的显示结果可能会因严重地闪动而变得非常糟糕。
围绕这个问题,Keith已经设计了CMemDC类,这个类创建了一个内存编译环境装置,在那儿你可以画图。
来源: http://www.codeguru.com/gdi/rotate_dc.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|