DtvLong dal_smf_ret_key ()

Returns the current keyboard code.

Input Parameters Significance
none -

Output Parameters Significance
none -

Return Code Significance
value decimal value for the key or. key combination pressed (in case of function keys from <keydef.h>)
0 read error
<0 double click

This function returns the keyboard code assigned in <keydef.h> for function keys, and the corresponding ASCII code for keys of the alphanumeric keypad.

In case of a double click per current unit of time the function returns the keyboard code as negative value.

Attention! This function is not supported any more in DataView version 4.1.


Copyright (c) 2004-2008 Macrobject Software, All Rights Reserved.
You can change this copyright message in the "Template Settings" dialog.