Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
[SOLVED] postmessage uses Windows and MACOs
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Turbo Power Flashfiler La...
by
zzsczz
[
Today
at 11:33:58 am]
Can FreePascal be used to...
by
MarkMLl
[
Today
at 11:24:04 am]
Reading pdf into a TMemo
by
wp
[
Today
at 11:18:03 am]
Printer Paper Orientation
by
J-G
[
Today
at 11:05:53 am]
IBExpress - best practise...
by
Nicole
[
Today
at 10:09:46 am]
Inserting into TValueList...
by
derek.john.evans
[
Today
at 10:02:22 am]
Does Freepascal has every...
by
MarkMLl
[
Today
at 09:52:05 am]
Question about cross-comp...
by
PascalDragon
[
Today
at 09:10:39 am]
[SOLVED] Type conversion?...
by
PascalDragon
[
Today
at 09:06:01 am]
[solved] How to download ...
by
Nicole
[
Today
at 08:46:41 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] postmessage uses Windows and MACOs (Read 333 times)
superc
Full Member
Posts: 176
[SOLVED] postmessage uses Windows and MACOs
«
on:
March 14, 2022, 03:03:05 pm »
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.
«
Last Edit: March 14, 2022, 04:50:36 pm by superc
»
Logged
Thaddy
Hero Member
Posts: 11774
Re: postmessage uses Windows and MACOs
«
Reply #1 on:
March 14, 2022, 03:56:50 pm »
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.
«
Last Edit: March 14, 2022, 04:06:52 pm by Thaddy
»
Logged
Black themes should be banned.
superc
Full Member
Posts: 176
Re: postmessage uses Windows and MACOs
«
Reply #2 on:
March 14, 2022, 04:50:22 pm »
very usefull, Thank you very much
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
[SOLVED] postmessage uses Windows and MACOs
TinyPortal
© 2005-2018