InterfaceMgr::GetControlKey
Defined in:
Returns a boolean value indicating whether the control key is pressed.
C4Interface.h
Prototype
static bool GetControlKey(void);
Description
The GetControlKey
function returns true
if the control key is currently pressed and false
otherwise. No distinction is made between left and right control keys, and true
is returned if either is pressed.The name "control key" is used as a platform-neutral term, and it refers to different physical keys on different platforms. Under Windows, the
GetControlKey
function returns true
if the Control key is pressed. Under Mac OS X, the GetControlKey
function returns true
if the Command (⌘) key is pressed.
See Also