当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 1.PostKeyEx32function} procedur
 

 

    摘要: { diese unit kann in ein package compiliert werden und erscheint danach im delphi menu unter hilfe. } { this unit can be compiled into a package and will then appear in the delphi help menu. } unit s......
 ·delphi 中的 format 函数    »显示摘要«
    摘要: function format(const format: string; const args: array of const): string; $[sysutils.pas功能 返回按指定方式格式化一个数组常量的字符形式说明 这个函数是我在delphi中用得最多的函数,现在就列举几个例子给你个直观的理解"%" [索引 ":"] ["-"] [宽度] ["." 摘要] 类型format(x=......


Simulate the pressing of keyboard keys
1. postkeyex32 function}

【程序编程相关:IntToHex(10-16进制的转换)

【推荐阅读:Delphi2005(DiamondBa

procedure postkeyex32(key: word; const shift: tshiftstate; specialkey: boolean); 【扩展信息:Delphi INPUT Helper

{************************************************************

* procedure postkeyex32

*

* parameters:

*  key    : virtual keycode of the key to send. for printable

*           keys this is simply the ansi code (ord(character)).

*  shift  : state of the modifier keys. this is a set, so you

*           can set several of these keys (shift, control, alt,

*           mouse buttons) in tandem. the tshiftstate type is

*           declared in the classes unit.

*  specialkey: normally this should be false. set it to true to

*           specify a key on the numeric keypad, for example.

* description:

*  uses keybd_event to manufacture a series of key events matching

*  the passed parameters. the events go to the control with focus.

*  note that for characters key is always the upper-case version of

*  the character. sending without any modifier keys will result in

*  a lower-case character, sending it with [ssshift] will result

*  in an upper-case character!

// code by p. below

************************************************************}

type


...   下一页
 ·debugging activeforms    »显示摘要«
    摘要: in this short article, first published in uk-bug news, ill show a few tricks that will help us debug activeforms from within the delphi (or c++builder) ide itself. we start with a simple activeform......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE