Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegisterWindowMessage
Message
 
 
To
03/09/1999 10:51:39
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00260865
Message ID:
00261317
Views:
32
Jeff,

There's no need to REGFN() those APIs. You can use the DECLARE DLL command in VFP and then call the API like any other function. The 3 API calls you are making will work fine for VFP to send a message to another app. I don't have the code in front of me now, but I think you have to save the result of RegisterWindowMessage so that you can Send/PostMessage later.

>Is there a way to send a Windows Registered Message with VFP? I need it to integrate with another product and am not having much luck. Is this a VFP limitation?
>
>What I have found are the following examples but I am not sure how to implement them.
>
>func_ref = regfn("RegisterWindowMessage","IIIL","I")
>func_ref = regfn("PostMessage","IIIL","I")
>func_ref = regfn("SendMessage","IIIL","I")
>
>Any help would truly be appreciated.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform