示例#1
0
        public static bool GetCapsLockStatus()
        {
            //if ((MySendKeys.GetKeyState(0x20) & 0x8000)!=0) return true;
            bool CapsLock = (((ushort)MySendKeys.GetKeyState(0x14)) & 0xffff) != 0;


            return(CapsLock);
        }