[SOLVED] postmessage uses Windows and MACOs lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- superc · 2022-03-14 14:03 Hello, I'm trying to convert my program win32 to MACOs: in many form I use 'Windows' uses and specifically postmessage: in MACOs, if needed, what is the corresponding call? Thanks is advance. ---------------------------------------------------------------------- Thaddy · 2022-03-14 14:56 instead of windows, use lclintf ; That mimics a large part of the windows unit in a crossplatform way. See https://wiki.freepascal.org/lclintf where you can find an x-platform postmessage() with the same signature as the one from windows. ---------------------------------------------------------------------- superc · 2022-03-14 15:50 very usefull, Thank you very much