Gets a value that indicates whether the Ctrl key is pressed.
HRESULT IDOMKeyboardEvent::get_ctrlKey(VARIANT_BOOL *p);
- Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
VARIANT_TRUE The Ctrl key is pressed. VARIANT_FALSE The Ctrl key is not pressed.
Returns S_OK if successful, or an error value otherwise.
To determine whether the left or right version of the Ctrl key is pressed, use the location property.