原创 Winsock完成端口模型-Delphi代碼

原文出處 《Windows網絡編程技術》第8章 完成端口模型 由於原書附的是C代碼,我把其翻譯成Delphi代碼。   其中winsock2.pas在delphi中不帶,要另外下載http://jungla.dit.upm.es/~bti

原创 hide the scrollbars of TWebBrowser?

{Eine Seite muss bereits in TWebBrowser geladen sein}{A page must be loaded into TWebBrowser}procedure TForm1.Button1C

原创 change the scrollbar colors of TWebBrowser?

A page must be already loaded into TWebBrowser}{Eine Seite muss bereits in TWebBrowser geladen sein}//Example//Beispiel

原创 post form data with TWebBrowser?

procedure TForm1.Button1Click(Sender: TObject);var  i: Integer;  EncodedStr: string;  Header: OleVariant;  Post: OleVar

原创 WTL Samples編譯錯誤

1. 在buid debug時會出錯 有多重的manifest  file 解決:config project options - conifguration properties - linker - manifesh file  -

原创 scroll TWebBrowser with own buttons?

// Scroll upprocedure TForm1.Button1Click(Sender: TObject);begin  WebBrowser1.OleObject.Document.ParentWindow.ScrollBy(

原创 ...Invoke Hidden Commands in the TWebBrowser

// The following codes demonstrates an innovative way to invoke hidden// commands to show modal dialogs such as "Add To

原创 fill out fields in a TWebBrowser by Drag&Drop?

{  This example shows how to fill out fields in your webbrowser by  dragging the content of Label1 to a field of your w

原创 ...append HTML Text to a TWebbrowser Document?

http://www.swissdelphicenter.ch/en/showcode.php?id=2148 {1. ----------------------------------------------------------

原创 關於WTL的CString, CRect, CSize, CPoint

 stdafx.h   //ATL 7.1 中已有的了:CRect, CSize, CPoint 以及 CString。// 使用時必須用 scope operator 來指明 (i.e. ATL::* 或 WTL::*),不然也可以用

原创 Delphi INPUT Helper update history

2004-12-08 V1.5 移植入Delphi 2005,爲使IDE更穩定重新簡化了軟件   2004-11-5 授權中國著名的開源組織cnpack.org移植入CNWizard http://bbs.cnvcl.org/viewth

原创 喜歡的歌曲:張棟樑-《當你孤單你會想起誰》

你的心情總在飛 什麼事都想去追 想抓住一點安慰 你總是喜歡在人羣中徘徊 你最害怕孤單的滋味   你的心那麼脆,一碰就會碎 經不起一點風吹 你的身邊總是要許多人陪 你最害怕每天的天黑   但是天總會黑,人總要離別 誰也不能永遠陪誰 而孤單的

原创 Delphi INPUT Helper v1.5 for Delphi 2005

download:  http://www.internetoa.com/uploadfiles/KbHelpherV1.5.rar source: http://www.internetoa.com/uploadfiles/KbHelp

原创 在VC中添加響應自定義的消息的代碼步驟

1. 首先定義一個消息代碼#define WM_DEBUG     WM_USER + 19992. 在窗口頭文件中添加class CStreamServerDlg : public CDialog{ // Generated messa

原创 讀書筆記-模式編程

模式編程主要內容是:如何組織類,類關係的編程 類關係分兩種: 1. 繼承關係 2. 合成關係:分聚合Aggregation、組合Composition,兩者區別在於has-a和contains-a,即一個擁有,一個完全包含。 合成關係的使