³£ÓõÄBCB & Delphi º¯Êý
³£ÓõÄBCB & Delphi º¯Êý
¹Ø¼ü×Ö£ºBCB,delphi,º¯Êý
×÷ÕߣºÂ³Ð¡°à ¸üУº2003-08-12 ä¯ÀÀ£º12686
·ÒëµÄ²»ºÃ£¬Çë¼ûÁ¡£
·Ò룺³С°à
Îļþ£º ActnList
CreateAction º¯Êý ´´½¨Ò»¸öÖ¸¶¨ÀàÐ͵ÄAction£¬ÏÔʾÔÚaction list editorÖС£
EnumRegisteredAction ¹ý³Ì ö¾ÙÒѾע²áµÄAction
RegisterAction ¹ý³Ì ×¢²áAction
UnRegisterAction ¹ý³Ì ·´×¢²áAction
Îļþ£º Classes
Bounds º¯Êý ÊäÈëÉÏÏÂ¸ß¿í·µ»ØÒ»¸ö¾ØÐνṹ¡£
CollectionsEqual º¯Êý ±È½ÏÁ½¸öTCollectionÊDz»ÊÇÏàµÈ¡£
CurrentGroup ±äÁ¿
FindClass º¯Êý ´ÓÊäÈë×Ö·û´®Öзµ»ØÒ»¸ö´ÓTPersistent¼Ì³ÐµÄÀà
FindGlobalComponent ±äÁ¿ ·µ»ØÒ»¸ö×î¸ß½×µÄÈÝÆ÷Àà¡£
GetClass º¯Êý ·µ»ØÒ»¸öÒѾע²áÁ˵ĴÓTPersistent¼Ì³ÐµÄÀà
LineStart º¯Êý ·µ»ØÏÂÒ»ÐеĿªÊ¼×Ö·ûλÖÃ
ObjectBinaryToText ¹ý³Ì ת»»¶ÔÏóµÄ¶þ½øÖÆÁ÷ÐÎʽµ½Îļþ¡£
ObjectResourceToText ¹ý³Ì ת»»¶ÔÏóµÄ¶þ½øÖÆ×ÊÔ´µ½Îļþ¡£
ObjectTextToBinary ¹ý³Ì ת»»±£´æ¶ÔÏóµÄÎļþÐÎʽµ½¶þ½øÖÆÁ÷¡£
ObjectTextToResource ¹ý³Ì ת»»±£´æ¶ÔÏóµÄÎļþÐÎʽµ½×ÊÔ´¡£
Point º¯Êý ÊäÈëX,y×ø±ê·µ»ØÒ»¸öµã½á¹¹¡£
ReadComponentRes º¯Êý ´Ó´°¿Ú×ÊÔ´ÖжÁ³öÒ»¸ö¿Ø¼þºÍËýµÄÊôÐÔ¡£
ReadComponentResEx º¯Êý ͬÉÏ
ReadComponentResFile º¯Êý ´Ó´°¿Ú×ÊÔ´ÎļþÖжÁ³öÒ»¸ö¿Ø¼þºÍËýµÄÊôÐÔ¡£
Rect º¯Êý ÊäÈëÉÏÏÂ×óÓÒ·µ»ØÒ»¸ö¾ØÐνṹ
RegisterClass ¹ý³Ì ×¢²áÒ»¸ö´ÓTPersistent¼Ì³ÐµÄÀ࣬ʹËýµÄÀàµÄÀàÐÍÄܹ»±»Ê¶±ð¡£
RegisterClassAlias ¹ý³Ì ×¢²áÒ»¸öºÍÁíÒ»¸ö³ýÁËÃû×ÖÍⶼÏàͬµÄÀà¡£
RegisterClasses ¹ý³Ì ×¢²áÒ»×éÀà
RegisterComponents ¹ý³Ì ×¢²áÒ»×é¿Ø¼þ
RegisterIntegerConsts ¹ý³Ì
RegisterNoIcon ¹ý³Ì ×¢²áÒ»×éûÓÐͼ±êµÄ¿Ø¼þ
RegisterNonActiveX ¹ý³Ì ·ÀÖ¹Ò»×é¿Ø¼þ±»ActiveX wizardʶ±ð¡£
UnregisterClass ¹ý³Ì ·´×¢²áÒ»¸öÀà
UnregisterClasses ¹ý³Ì ·´×¢²áÒ»×éÀà
UnregisterModuleClasses ¹ý³Ì ·´×¢²á¶¨ÒåÔÚÄ£¿éÖеÄËùÓеÄÀà
WriteComponentResFile ¹ý³Ì д¿Ø¼þºÍËýµÄÊôÐÔµ½Îļþ¡£
Îļþ£º Clipbrd
Clipboard º¯Êý ·µ»ØÒ»¸öTClipboard¶ÔÏó
SetClipboard º¯Êý ÓÃÒ»¸öÐÂTClipboardÌ滻ȫ¾ÖTClipboard¡£
Îļþ£º Controls
CancelDrag ¹ý³Ì ÔÚ³ÌÐòÖÐÈ¡Ïûdrag-and-drop»òdrag-and-dock²Ù×÷¡£
CursorToIdent º¯Êý ÅжϹâ±ê³£ÊýÊDz»ÊǺÍ×Ö·û´®ÏàµÈ
Cu
Ïà¹ØÎĵµ£º
DELPHIÓõò»Ì«¶à£¬¼ÓÉÏÄԽºÃʹ£¬¾Í¼ÇÒ»ÏÂ×î³£ÓöԿª·¢Ð§ÂʺÜÓаïÖúµÄ¼¸¸ö£º
Ctrl+Êó±ê×ó¼ü£º²éÕÒ¶¨Òå
Ctrl+Shift+↑£ºÉÏÒ»²Ù×÷ÓëÆäÕýºÃÏà·´£¬Óɶ¨Òå²éÕÒʵÏÖ
Ctrl+Shift+¿Õ¸ñ£ºÔÚÒ»¸öº¯ÊýûÓÐÊäÈë²ÎÊýµÄÀ¨ºÅÄÚ°´Ï´˿ì½Ý¼üʱ»á³öÏÖº¯ÊýÏà¹Ø²ÎÊýµÄÌáʾÐÅÏ¢£¬°üÀ¨ÖØÔصÄËùÓк¯ÊýµÄÐÅÏ¢ ......
Procedure OnMouseWheel(Var Msg :TMsg;var Handled:Boolean);
begin
if Msg.message = WM_MouseWheel then
begin
if Msg.wParam > 0 then
begin
if DBGrid.Focused then
......
żȻÀ´ÕÒÒ»¸öÎļþ£¬È´·¢ÏÖÕâÀï¹ØÓÚvc++ºÍDelphiµÄÌÖÂÛºÜÊǼ¤ÁÒ¡£¿´ÁË´ó¼ÒдµÄһЩ
ÎÄÕ£¬¾õµÃÓÐЩ¿´·¨ÕýÈ·£¬ÓÐЩ¾ÍºÜÆ«ÆÄÉõÖÁ´íÎó(Ò²ÐíÎÞÖª£¿ºÜ±§Ç¸ÎÒÕâÑù˵:-)¡£ÎÒ
ÎÞÒâÓëÈκÎÈËÕùÂÛ£¬¸üÔ¸Òâ°ÑÕâ¿´³ÉÊǼ¼ÊõÉϵÄÌÖÂÛ¡£Ó¦¸Ã±¾×Ź«Õý£¬²»´øÆ«¼ûµÄ̬¶È
(Õâ²¢²»Òâζ×Å·ÇҪƽ·ÖÇïÉ«£¬Ò»ÇÐÓ¦ÒÔÊÂʵΪ׼)¡£ÎÒÓùý³ýtp1ÒÔÍâµÄËùÓ ......
//Delphi²¿·Ö
//»Øµ÷º¯Êý¶¨Òå
type TOnMyCallBack = procedure(data:pchar; id:Integer);stdcall;
//DLLÖеĵ¼³öº¯ÊýÉùÃ÷
procedure StartCall(param: TOnMyCallBack(data:pchar; id:Integer);stdcall;
begin
...
...
end;
&n ......
ÒÔÇ°Óùýdelphi 2007µÄÕâ¸öº¯ÊýµÄ£¬²ÎÊý³¬¶à£¬ÏÖÔڵĹ«Ë¾ÓÃD7£¬½á¹ûÍøÉÏÒ»²éÕâ¸öº¯Êý£¬Óò»³ÉÁË£¬ÔÀ´ÎÒÓôíÁ˺¯Êý
unit QDialogs;
{$IFDEF LINUX}
function SelectDirectory(const Caption, Root: WideString;
var Directory: WideString; ShowHidden: Boolean = False): Boolean;
{$ENDIF}
{$IFDEF MSWINDOW ......