﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>亲亲宝宝 &#187; delphi</title>
	<atom:link href="http://www.wenhq.com/category/delphi/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wenhq.com</link>
	<description>记录宝宝成长文章和软件开发经验笔记</description>
	<lastBuildDate>Mon, 09 Jan 2012 00:52:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>delphi的treeview中增加checkbox复选框</title>
		<link>http://www.wenhq.com/article/view_659.html</link>
		<comments>http://www.wenhq.com/article/view_659.html#comments</comments>
		<pubDate>Tue, 28 Sep 2010 11:57:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[delphi控件]]></category>

		<guid isPermaLink="false">http://www.wenhq.com/?p=659</guid>
		<description><![CDATA[<p>    不知道delphi中为啥treeview中没有提供checkbox复选框的功能,也有一些第三方的控件可以做,这里不使用第三方控件,直接使用delphi中的TTreeview 做一些修改,看看效果.
unit wenhq;
interface
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,CommCtrl,
  Dialogs, ComCtrls, ...<a href='http://www.wenhq.com/article/view_659.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>    不知道delphi中为啥treeview中没有提供checkbox复选框的功能,也有一些第三方的控件可以做,这里不使用第三方控件,直接使用delphi中的TTreeview 做一些修改,看看效果.
unit wenhq;
interface
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,CommCtrl,
  Dialogs, ComCtrls, ...<a href='http://www.wenhq.com/article/view_659.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_659.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Access查询日期时间的SQL语句</title>
		<link>http://www.wenhq.com/article/view_657.html</link>
		<comments>http://www.wenhq.com/article/view_657.html#comments</comments>
		<pubDate>Fri, 24 Sep 2010 10:40:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.wenhq.com/?p=657</guid>
		<description><![CDATA[<p>Access数据库虽然功能是差了点，但是有时对一些少量的数据保存很是很方便的，在delphi中也是如此，在查询时免不了要按照日期或 时间作为查询条件，access有些特别。
select * from table
where startime &gt;#2010-9-23 2::12::00#
你把datetimepicker1的如果是Time分解成上面的形式就可以了。
注意两点：
1、日期时间两...<a href='http://www.wenhq.com/article/view_657.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>Access数据库虽然功能是差了点，但是有时对一些少量的数据保存很是很方便的，在delphi中也是如此，在查询时免不了要按照日期或 时间作为查询条件，access有些特别。
select * from table
where startime &gt;#2010-9-23 2::12::00#
你把datetimepicker1的如果是Time分解成上面的形式就可以了。
注意两点：
1、日期时间两...<a href='http://www.wenhq.com/article/view_657.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_657.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>delphi6中checkbox的值改变时不会触发单击事件</title>
		<link>http://www.wenhq.com/article/view_655.html</link>
		<comments>http://www.wenhq.com/article/view_655.html#comments</comments>
		<pubDate>Sun, 19 Sep 2010 09:10:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[delphi控件]]></category>

		<guid isPermaLink="false">http://www.wenhq.com/?p=655</guid>
		<description><![CDATA[<p>我们可能会在checkbox中添加onclick事件，有时在程序修改checkbox的值时不想触发onclick事件怎么办呢？自从没有了OnCheckedChanged事件，好像有些麻烦，这里介绍两种方式：
第一种：要麻烦一些，先定义一个事件变量，把当前的事件保存起来，然后设置复选框的单击事件为空，赋完值后，在恢复单击事件，支持delphi6的版本
...<a href='http://www.wenhq.com/article/view_655.html' rel="nofollow">阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>我们可能会在checkbox中添加onclick事件，有时在程序修改checkbox的值时不想触发onclick事件怎么办呢？自从没有了OnCheckedChanged事件，好像有些麻烦，这里介绍两种方式：
第一种：要麻烦一些，先定义一个事件变量，把当前的事件保存起来，然后设置复选框的单击事件为空，赋完值后，在恢复单击事件，支持delphi6的版本
...<a href='http://www.wenhq.com/article/view_655.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_655.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>delphi如何获得一个文件夹下所有文件</title>
		<link>http://www.wenhq.com/article/view_214.html</link>
		<comments>http://www.wenhq.com/article/view_214.html#comments</comments>
		<pubDate>Fri, 16 May 2008 08:23:03 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[   我们怎么在delphi中获得一个文件夹下的所有文件，并把文件的属性显示出来呢？]]></description>
			<content:encoded><![CDATA[<p>procedure TForm1.Button8Click(Sender: TObject);
var
  sr: TSearchRec;
  aTempPath: String;
begin
  aTempPath :=&#8217;D:\delphi\printer\*.*&#8217;; //注意后面的*。*一定要加
  if FindFirst(aTempPath, faAnyFile, sr) = 0 then
    begin
      repeat
        if (sr.Attr and faArchive) = sr.Attr then
 ...<a href='http://www.wenhq.com/article/view_214.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_214.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi中获取和修改文件的时间</title>
		<link>http://www.wenhq.com/article/view_213.html</link>
		<comments>http://www.wenhq.com/article/view_213.html#comments</comments>
		<pubDate>Fri, 16 May 2008 08:18:16 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[   本文介绍了在Delphi中利用系统函数和Windows API函数调用来获取和修改文件的时间信息的方法。 ]]></description>
			<content:encoded><![CDATA[<p>这里，我向大家介绍在Delphi中如何实现文件时间的获取和修改方法。Delphi中
提供了很完备的Windows API函数的调用接口，可以方便的进行高级Windows编程
。利用Delphi中的FindFirst函数可以得到一个文件的属性记录，该记录中的Fin
dData域中就记载了详细的文件时间信息。然而遗憾的是，FindData中的时间信息
是不能直接得...<a href='http://www.wenhq.com/article/view_213.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_213.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>捕获打印机状态改变</title>
		<link>http://www.wenhq.com/article/view_212.html</link>
		<comments>http://www.wenhq.com/article/view_212.html#comments</comments>
		<pubDate>Tue, 13 May 2008 18:30:21 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[  我们有时需要在打印任务完毕后，再接着打印下一个任务。]]></description>
			<content:encoded><![CDATA[<p>unit   Unit1;

interface

uses
    Windows,   Messages,   SysUtils,   Classes,   Graphics,   Controls,   Forms,   Dialogs,   WinSpool,
    StdCtrls;

var
pi2:PRINTER_INFO_2;
pno:PRINTER_NOTIFY_OPTIONS;
pinfo:PPrinterNotifyInfo;
//pinty:pPrinterNotifyOptionsType;
hResult:THandle;
pdwChange:DWORD;
...<a href='http://www.wenhq.com/article/view_212.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_212.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何获取打印机和打印作业的状态</title>
		<link>http://www.wenhq.com/article/view_211.html</link>
		<comments>http://www.wenhq.com/article/view_211.html#comments</comments>
		<pubDate>Tue, 13 May 2008 18:24:17 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[  打印机和打印作业的状态由 Win 32 后台程序更新期间 despool 的打印作业。 其他任何时候, 时打印机不是 despooling 并报告没有状态信息, 打印机被认为要准备和空闲。]]></description>
			<content:encoded><![CDATA[<p>如引用由 Win32API, &#8221; 打印机 &#8221; 由打印机驱动程序， 打印队列, 和输入/输出路径到物理打印机。 操作系统将物理打印机视为只打印作业由生成并传递系统 &#8221; 打印机, &#8221; 作为打印机本文其余部分中引用的目标。

最明显一部分打印机是打印队列。 它是由打印管理器或样式 Windows 95 用户界面中打印机文...<a href='http://www.wenhq.com/article/view_211.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_211.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>delphi中为应用程序添加友好错误提示</title>
		<link>http://www.wenhq.com/article/view_210.html</link>
		<comments>http://www.wenhq.com/article/view_210.html#comments</comments>
		<pubDate>Thu, 08 May 2008 19:11:36 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[  在程序中可能会有一些不知道的错误窗口弹出，怎么能给客户一个友好提示呢？]]></description>
			<content:encoded><![CDATA[<p> 定义一个异常处理类 ，把应用程序为处理的异常全部让它来处理。
 TMyexception =class
  public
    procedure AppException(Sender: TObject; E: Exception);
  end;
procedure TMyexception.AppException(Sender: TObject; E: Exception);
begin
  if pos(&#8216;ora-&#8217;,LowerCase(e.Message)) =1 then
    remi...<a href='http://www.wenhq.com/article/view_210.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_210.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi7开发apache的共享模块</title>
		<link>http://www.wenhq.com/article/view_205.html</link>
		<comments>http://www.wenhq.com/article/view_205.html#comments</comments>
		<pubDate>Thu, 24 Apr 2008 21:11:38 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[  delphi7 soap webservice apache2.2
  Apache Shared Modules in Delphi]]></description>
			<content:encoded><![CDATA[<p>

手把手教会你怎么开发apache的模块，使用delphi原来这样简单就搞定。
Introduction
Choosing Apache 1 or Apache 2
Installing Apache
Controlling Apache
Writing A Shared Module
Using The Shared Module
Debugging Shared Modules
About Brian Long
    

        


  
If you find this article useful then ple...<a href='http://www.wenhq.com/article/view_205.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_205.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi7中使用webservices(SOAP) + Apache2.2X</title>
		<link>http://www.wenhq.com/article/view_204.html</link>
		<comments>http://www.wenhq.com/article/view_204.html#comments</comments>
		<pubDate>Thu, 24 Apr 2008 21:05:02 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[  使用delphi7的朋友，以后开发的webservice可以在apache2.2的版本下运行了，我自己现在用的是apache2.2.8的最新版。]]></description>
			<content:encoded><![CDATA[<p>Help to development a Web Services that run unter Apache 2.2.3 using D7
All posts: borland.public.delphi.webservices.soap
Source: borland.public.delphi.webservices.soap
>Apply the Dr Bob « unofficial fix » (see
>http://www.drbob42.com/delphi7/Apache2040.htm)
>
>and modify :
>
>MODULE_MAGIC_COOK...<a href='http://www.wenhq.com/article/view_204.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_204.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

