Thread: keyboard
View Single Post
  #1 (permalink)  
Old 06-01-2008, 09:57 AM
bodhi2016 bodhi2016 is offline
Newbie
 
Join Date: Jan 2008
Posts: 29
Rep Power: 4
bodhi2016 is on a distinguished road
Default keyboard

Well i am reading the keyboard portion of the book.I want to make a programme with which i can switch the caps lock on and off.
iState = GetKeyState (VK_CAPITAL) ;

has the low bit set if the Caps Lock key is toggled on
Can somebody explain me the meaning of low bit set.Does it mean that the extreme left hand side is bit 0.
Is there any way i can force the VK_capital to change the value so that it has a high bit set then i can switch off the caps lock from the programme.
Often i have seen this numbers like 0X00081 or 0x00001 .CAn anybody please tell the meaning of this or any articke in the net about this,
Thank You
Reply With Quote

Sponsored Links