OldHawk

菜地一块,欢迎拍砖
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2007年8月20日

摘要: SetLedState(ktCapsLock, True); // CapsLock on SetLedState(ktNumLock, True); // NumLock on SetLedState(ktScrollLock, True); // ScrollLock on 阅读全文

posted @ 2007-08-20 14:22 OldHawk 阅读(619) 评论(0) 推荐(0)

摘要: interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, AppEvnts, StdCtrls; type TForm1 = class(TForm) ApplicationEvents1: TApplicationEvents; Button_StartJour: TButton; Button_StopJour: TButton; ListBox1: TListBox; 阅读全文

posted @ 2007-08-20 14:19 OldHawk 阅读(496) 评论(0) 推荐(0)

摘要: procedure TForm1.Button1Click(Sender: TObject); begin ShowCursor(False); // Hide cursor end; procedure TForm1.Button2Click(Sender: TObject); begin ShowCursor(True); // Show cursor end; 阅读全文

posted @ 2007-08-20 14:15 OldHawk 阅读(562) 评论(0) 推荐(0)

摘要: uses ShellAPI; { If the taskbar auto-hide feature is enabled, you get TRUE from function "IsTaskBarautoHideOn". } function IsTaskbarAutoHideOn : boolean; var ABData : TAppBarData; begin ... 阅读全文

posted @ 2007-08-20 14:11 OldHawk 阅读(267) 评论(0) 推荐(0)

摘要: var ContinueLoop: BOOL; FSnapshotHandle: THandle; FProcessEntry32: TProcessEntry32; 阅读全文

posted @ 2007-08-20 14:09 OldHawk 阅读(545) 评论(0) 推荐(0)

摘要: As you know ,to play a WAV sound, you can use a TMediaPlayer object. This article shows that how can playing a wav file without TMediaplayer 阅读全文

posted @ 2007-08-20 11:40 OldHawk 阅读(299) 评论(0) 推荐(0)

摘要: Today I want to show a few samples how you can use the extended dialogs from MS Windows (Find Files, Find Computer, Select Icon etc) in own code. 阅读全文

posted @ 2007-08-20 11:22 OldHawk 阅读(320) 评论(0) 推荐(0)

摘要: 结婚快7年了,儿子也4岁半了,现在的社会压力越来越大,人活得也越来越累,但是对生活还是充满了希望,儿子也很乖,也非常懂事。 一年前,我只身来到了上海,在这个大都市里压力就不用说了,今年她妈妈也来上海了,就想在孩子上小学之前能在上海好好干一番,为以后的生活做些准备,所以儿子就一直放在他外婆外爷处。 前几天,为了实现对儿子的承诺,暑假期间带他来上海玩,当然见面后双方... 阅读全文

posted @ 2007-08-20 10:46 OldHawk 阅读(386) 评论(8) 推荐(0)