Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost Ctrl+C copy funcitonality
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00922631
Message ID:
00922770
Vues:
30
Both return 0 ?


>No problem trying it now...
>
>
>>I missed API declarations, sorry:
>>
>>#DEFINE MOD_ALT     1
>>#DEFINE MOD_CONTROL 2
>>#DEFINE MOD_SHIFT   4
>>#DEFINE VK_TAB      9
>>#DEFINE VK_ESCAPE   0x1b
>>#DEFINE VK_C        0x0043
>>DO decl
>>
>>LOCAL hWindow, nKeyId, nModifier
>>hWindow = _screen.HWnd
>>nKeyId=1001
>>nModifier=MOD_CONTROL
>>
>>? RegisterHotKey(hWindow, nKeyId, nModifier, VK_C)
>>? UnregisterHotKey(hWindow, nKeyId)
>>* end of main
>>
>>PROCEDURE decl
>>	DECLARE INTEGER RegisterHotKey IN user32;
>>		INTEGER hWnd, INTEGER id,;
>>		INTEGER fsModifiers, INTEGER vk
>>
>>	DECLARE INTEGER UnregisterHotKey IN user32;
>>		INTEGER hWnd, INTEGER id
>>
Greg Foote
Software At Work, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform