Win32 Post(Thread)MessageA and Clarion Post(post user-defined event) - Is there a SendMessageA Clarion equivalent?

Am I correct to believe that the Clarion Post(post user-defined event) is identical to the win32 PostMessageA and PostThreadMessageA api’s?

If it is/are, is there a win32 SendMessageA api equivalent in Clarion besides Notify and Notifcation which is LIFO.

TIA

The Clarion procedures POST and NOTIFY affect a Clarion ACCEPT loop.

SendMessageA works on windows and controls (AKA windows) where those messages can be read and acted on by subclassing. That stuff is Windows API. The only Clarion funcs I know for this stuff are wrappers written in Clarion.

In a project I’m working on I needed to post a message from a C# exe to a window in a Clarion dll. I thought, like you, that they were equivalent and I could find the msg code for POST and/or NOTIFY. After testing and analyzing subclass message logs, I couldn’t find anything. Then I found this post where Alexey explains that they are different things.

I ended up using PostMessage from C# and a Clarion subclass procedure to NOTIFY the window.

I’ve gone for SendMessageA for the reason mentioned in the response to @seanh here Fastest but most reliable way to synch global variables - #5 by RchdR

I needed a way to inject into another thread knowing it will then be processed more quickly whilst other threads complete and shutdown. PostMessage couldnt give me this extra speed gain.