Using KEYSTATE For Backdoors And Other Tricks

By Carl Barnes

Posted February 1 2002

Summary: The Clarion KEYSTATE function returns the status of the "shift type" keys (Shift, Ctrl, Alt), the lock keys (Caps Lock, Num Lock, Scroll Lock), and the Insert key (overwrite or insert). It might sound like KEYSTATE isn’t good for much more than displaying information on the status bar, but in fact this function is a great tool for detecting unusual keystroke combinations (including when the numeric keypad has been used), which you can use to implement hidden features in your applications.

Please log on to read this subscriber-only article. If you do not have a subscription you can purchase one in the ClarionMag store.

Clarion Roadmap

Try the roadmap (beta)

Search ClarionMag

 

Advanced search

From the archives

The New Clarion.NET Template Language - Is It Really Microsoft's T4?

10/22/2009 12:00:00 AM

At the Aussie DevCon, SoftVelocity president Bob Zaunere demonstrated a template written in the new .NET template language. But is it a new template language? Dave Harms argues it's really Microsoft's T4, and explains why that's a good thing.