Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost Ctrl+C copy funcitonality
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00922631
Message ID:
00922770
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform