홈 · 개발 참고자료

개발 참고자료

[파워빌더] Detect Caps Lock state

작성자
관리자
작성일
2016-10-16
조회
9880
분류
파워빌더
[local function declaration]
FUNCTION int GetKeyState(int keystatus) LIBRARY "user32.dll"

[powerscript]
int li_keystate

li_keystate = GetKeyState(20)

IF li_keystate = 1 THEN
MessageBox("", "CAPS on")
ELSEIF li_keystate = 0 THEN
MessageBox("", "CAPS off")
END IF

See also this HowTo