| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Need Help With PostMessage WinAPI |
From: Gregg N
"Gary Britt" wrote in
news:409ef691$1{at}w3.nls.net:
> BTW, what's the difference between a PostMessage and a SendMessage, if
> any?
The documentation for these functions, as well as all other Win32
functions, is available online at http://msdn.microsoft.com/library. It can
sometimes be tricky finding the appropriate documentation though because
many functions have names that appear in multiple contexts (MFC, Win32,
WindowsCE, .NET, etc.). The two functions you mentioned are documented
here:
SendMessage: http://tinyurl.com/38aob PostMessage: http://tinyurl.com/vy31
The difference between the two is that SendMessage is
"synchronous" (it does not return until the message has been
acted on by the recipient), whereas PostMessage is "asynchronous"
(it sends the message and returns immediately, without waiting for the
message to be handled by the recipient).
> I've tried it both as a PostMessage and a SendMessage and I can't get
> either to work. The command syntax seems the same, is that always the
> case?
Win32 functions are not generally overloaded, if that's what you mean. The
parameter set for a particular function is usually static, except for some
text formatting functions that take a variable number of arguments.
Gregg
--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)SEEN-BY: 633/267 270 @PATH: 379/45 1 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.