|
-
Jul 3rd, 2000, 11:20 PM
#1
Thread Starter
Lively Member
i have a program that send some api functions to an external app
but some times my app when it send an api function, it stop, waiting something from the other app.
is there a way to avoiding that?
telling the api function to not wait or something like that?
-
Jul 4th, 2000, 01:35 AM
#2
Frenzied Member
What Exactly are you doing, Are you using SendMessage, if so there should be no reason for it to stop waitng, if you're using postmessage or sendmeassage timeout then use sendmessage instead.
-
Jul 5th, 2000, 03:20 PM
#3
Thread Starter
Lively Member
i'm usind Call SetWindowPos and
a = SendMessage(lHwnd, WM_LBUTTONDOWN......
a = SendMessage(lHwnd, WM_LBUTTONUP.....
-
Jul 6th, 2000, 03:02 AM
#4
Lively Member
Tried SendMessageCallback?
It returns immediately, and when the other app is done it calls your callback-function. (Look at my Q about SendMessageCallback.)
-
Jul 8th, 2000, 06:21 PM
#5
Junior Member
SendMessage waits for a responce.
PostMessage doesn't.
So if you don't want it to wait, then use PostMessage.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|