Discussions related to Visual Prolog
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

How to recover Capslock on or off ? [resolved]

Unread post by Tonton Luc »

Hi,
how to recover if Capslock is on or off ?

In ..pfc\windowsApi\console_api\console_native.cl, I see a constant named "capslock_on", but I don't understand how to use it...
Many thanks for your help.
Last edited by Tonton Luc on 22 Oct 2015 15:23, edited 1 time in total.
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

I've found :

Code: Select all

gui_native::getKeyState(gui_native::vk_Capital)
:oops:
You can delete this post (as you want).
Post Reply