GetKeyState(VK_CAPITAL) should return 1 if CAPS LOCK is on.
There's some subtleties in this because some of the other bits of the returned value are set if the CAPS LOCK key itself is pressed.
Kit Jackson _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
