Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SendKey
Message
From
12/07/2006 14:21:25
 
 
To
12/07/2006 13:08:13
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
01135717
Message ID:
01135810
Views:
16
Thanks very much Christian,
Great class !

I have only one doubt:

When I use the function SendKeyCombi,
FUNCTION SendKeyCombi
	LPARAMETERS lnModifier, lcText
	LOCAL lnAscii
	IF BITTEST(lnModifier,0)
		keybd_event(VK_SHIFT,0,KEYEVENT_KEYDN,0)
	ENDIF
	IF BITTEST(lnModifier,1)
		keybd_event(VK_CTRL,0,KEYEVENT_KEYDN,0)
	ENDIF
	IF BITTEST(lnModifier,2)
		keybd_event(VK_ALT,0,KEYEVENT_KEYDN,0)
	ENDIF
and send VK_ALT as the first parameter, the class is understanding that "CTRL" was sent instead of "ALT" key...

Maybe there's something wrong with the "BITTEST" statements ?

Is there a specific way to send {ENTER} and {TAB} ? I used 13 and 9 as parameters and it works perfectly.

Anyway, thank you very much that has already solved my problem.

Best Regards

Cesar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform