delphiÃæÏò¶ÔÏó±à³ÌÎÊÌâ
ÎÒÏëÑ§Ï°ÃæÏò¶ÔÏó±à³Ì£¬Ïë×öÒ»¸öϵͳ×Ô´øµÄ¡°ÍÚµØÀס±ÄǸöСÓÎÏ·£¬ÎÒÏë°ÑµØÀ×¶¨ÒåÒ»¸öÀ࣬ÎÒÔÚµ¥¶ÀµÄµ¥ÔªDiLeiÖÐÕâÑù¶¨Ò壺
unit Dilei;
interface
uses
Buttons;
type
TDiLei = class //µØÀ×Àà±ð
private
{ Private declarations }
public
btn: TSpeedButton; {°´Å¥}
btnLeft: Integer;{left}
btnTop: Integer;
btnWidth: Integer;
btnHeight: Integer;
constructor create(l,t: Integer);overload;
{ Public declarations }
end;
implementation
constructor TDiLei.create(l,t: Integer);
begin
Self.btn := TSpeedButton.Create(Self);
Self.btn.Width := 22;
Self.btn.Height := 22;
Self.btn.Left := l;
Self.btn.Top := t;
Self.btn.Show
end;
end.
//////////////////////////////////////////////////////////////////////////////////////
È»ºóÔÚ´°¿ÚOnShowµÄʱºòÈ«²¿´´½¨ÕâЩµØÀ×£º
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons,Dilei;
type
TForm1 = class(TForm)
procedure FormShow(Sender: T
Ïà¹ØÎÊ´ð£º
ÎÒ°²×°µÄÊÇÆóÒµ°æ¡£¡£¡£
ÎÒÎÊÏ£¬ CTRL+×ó¼ü Äܲ鿴 windows.pas Âð£¿
¾ÍÊÇ ½Ó¿ÚÀïµÄwindows¡£
µ±È»¿ÉÒÔ,CTRL+×ó¼üµã»÷Interface²¿·ÖµÄWindows¾Í¿ÉÒÔÁË
ɶɶÆóÒµ°æ£¿È¥°²×°Ä¿Â¼¿´¿´libÎļþ¼ÐÏÂÓÐÃ»Ó ......
procedure RunFunction;
type
TFunc = function(A: Integer): Integer;stdcall;¡¡//ÕâÀï¸ù¾ÝDLLÀïÃæº¯ÊýµÄÉùÃ÷ÐÞ¸Ä
var
......
×òÍíÔÚDelphiÊý¾Ý¿â²éѯÖÐÓöµ½ÁËÒ»¸öÒɻ󡣴úÂëÈçÏ£º
procedure TFormSearchAchievement.ComboBoxXYChange(Sender: TObject);
var
XY : string;
begin
XY := comboboxxy.Items[comboboxx ......
VC ¿ØÖÆÌ¨³ÌÐò:
#include <iostream>
using namespace std;
int main()
{
const int def_buffer = 1024 * 4;
DWORD t;
BYTE b[def_buffer];
memset(b, 0, sizeof(b));
PBYTE p;
t = GetTickC ......
ÎÒÔÚÍøÉÏÕÒÁ˸ö¹ØÓÚIEBHOµÄ´úÂ룬Ȼºó°´ÕÕÄĸöÉèÖÃÁË£¬ºóÀ´ÔËÐеÄʱºò³öÏÖ
¹¹½¨
[¾¯¸æ] Project2.dpr(14): File not found: 'MYbho.TLB'
[¾¯¸æ] Project2.dpr(16): File not found: 'MYbho.RES'
......