[lazarus] (no subject)

rstar at mnet-online.de rstar at mnet-online.de
Fri Jan 2 13:49:23 EST 2004


Marc Weustink wrote:
> + From: rstar at mnet-online.de [mailto:rstar at mnet-online.de]
> + Sent: vrijdag 2 januari 2004 14:26
> +
> + I have a problem with the different key codes identifiers. I would
> + suggest a carnonical key code
> + like shown below. According to used platform/component-library the
> + dedicated key codes are always
> + being mapped to the same identifier Key_<name>.
> +
> +
> + //Kylix Qt  :  Key_Return     = 4100;
> + //Microsoft :  VK_RETURN      = 13;
> + //Lazarus   :  key_Return     = 13;
> + //GTK       :  GDK_KEY_Return = $FF0D;
> 
> Lazarus uses VK_<name> (and if you find a place where this isn't the case
> it has to change, let me know)
> 
> The idea is that lazarus on all platforms produces the same code.
> Eventually there will be an interface function where a VK_<name> can be
> mapped to a platform specific value.
> 
> 
> Marc
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
> 

Okay. But "hkeys.inc" should be removed.








More information about the Lazarus mailing list