SalPostMsg vs SalSendMsg

Discussion forum about all things Gupta, OpenText and the community.
Posts: 19
Joined: 04 Jan 2019, 15:44
Location: Italy

SalPostMsg vs SalSendMsg

Post by kiriand@01 » 07 Oct 2020, 08:01


Can you explain the difference between these two functions in Subject?


Nils Jänicke
Posts: 408
Joined: 20 Sep 2017, 11:56
Location: Villingen-Schwenningen, Germany

Re: SalPostMsg vs SalSendMsg

Post by Nils Jänicke » 07 Oct 2020, 08:22

SalSendMsg is executed immediately. After executing the message the function returns and you can work with the numeric result of the SalSendMsg function.
SalPostMsg stores the message in the window's message queue and returns TRUE or FALSE but your program or function continues. At the end when your application is idle then the message queue will execute.

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests