Delphi Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
델파이 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
FreePascal/Lazarus
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
델마당
볼랜드포럼 광고 모집

델파이 Q&A
Delphi Programming Q&A
[6279] [답변] 뫼빛/ 키보드를 사용불가 상태로 만들려면...?
ryujt [ ] 835 읽음    1999-06-11 04:02
Procedure SetRebootKey(Reboot:Boolean);
Var
   OldValue : LongBool;
Begin
  If Reboot then SystemParametersInfo(97, Word(False), @OldValue, 0)
  Else SystemParametersInfo(97, Word(True), @OldValue, 0);
End;

Procedure ShowStartButton(Show:Boolean);
Var
   Rgn : hRgn;
Begin
  Rgn:= CreateRectRgn(0, 0, 0, 0);
  If Show then
     SetWindowRgn(FindWindowEx(FindWindow('Shell_TrayWnd', Nil), 0, 'Button', Nil), 0, True)
  Else
    SetWindowRgn(FindWindowEx(FindWindow('Shell_TrayWnd', Nil), 0, 'Button', Nil), Rgn, True);
End;

Procedure EnableStartButton(Enable:Boolean);
Begin
  EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd', Nil),
                                       0,
                                       'Button',
                                       Nil),
                                       Enable);
End;


위의 함수드을 모두 False인자로 넘겨 보세요..


From 류..


+ -

관련 글 리스트
6279 [답변] 뫼빛/ 키보드를 사용불가 상태로 만들려면...? ryujt 835 1999/06/11
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.