cooperlegend Active Member Licensed User Longtime User Mar 3, 2025 #1 Hi, Has anyone managed to send Windows Messages from B4J ? Any help much appreciated John
stevel05 Expert Licensed User Longtime User Mar 3, 2025 #2 Can you give some more detail?, I'm not sure what you mean by Windows Messages Upvote 0
cooperlegend Active Member Licensed User Longtime User Mar 3, 2025 #3 I assume it is these https://learn.microsoft.com/en-us/windows/win32/learnwin32/window-messages It is not something I have heard of before. It is something I need to send just before my App closes to trigger an event in the calling program (not mine so I can't use any other method) Upvote 0
I assume it is these https://learn.microsoft.com/en-us/windows/win32/learnwin32/window-messages It is not something I have heard of before. It is something I need to send just before my App closes to trigger an event in the calling program (not mine so I can't use any other method)
DonManfred Expert Licensed User Longtime User Mar 3, 2025 #4 Any established way for B4J to produce notifications for macOS/Win10? I'm curious if anyone has made code to produce notifications on macOS and/or Windows? I believe it's called Notification Center on macOS and Action Center on Windows. You know, like these: www.b4x.com Upvote 0
Any established way for B4J to produce notifications for macOS/Win10? I'm curious if anyone has made code to produce notifications on macOS and/or Windows? I believe it's called Notification Center on macOS and Action Center on Windows. You know, like these: www.b4x.com
stevel05 Expert Licensed User Longtime User Mar 3, 2025 #5 Java JNA has some methods related to Messages, it will depend if what you need is in there. Check out the JavaDoc Upvote 0
Java JNA has some methods related to Messages, it will depend if what you need is in there. Check out the JavaDoc
cooperlegend Active Member Licensed User Longtime User Mar 3, 2025 #6 DonManfred said: Any established way for B4J to produce notifications for macOS/Win10? I'm curious if anyone has made code to produce notifications on macOS and/or Windows? I believe it's called Notification Center on macOS and Action Center on Windows. You know, like these: www.b4x.com Click to expand... Is this the same as a message ? It shouldn't be a visible notification Upvote 0
DonManfred said: Any established way for B4J to produce notifications for macOS/Win10? I'm curious if anyone has made code to produce notifications on macOS and/or Windows? I believe it's called Notification Center on macOS and Action Center on Windows. You know, like these: www.b4x.com Click to expand... Is this the same as a message ? It shouldn't be a visible notification
cooperlegend Active Member Licensed User Longtime User Mar 3, 2025 #7 stevel05 said: Java JNA has some methods related to Messages, it will depend if what you need is in there. Check out the JavaDoc Click to expand... Unfortunately I wouldn't know where to start with this, I am just a B4X developer, too old to learn new stuff Upvote 0
stevel05 said: Java JNA has some methods related to Messages, it will depend if what you need is in there. Check out the JavaDoc Click to expand... Unfortunately I wouldn't know where to start with this, I am just a B4X developer, too old to learn new stuff
DonManfred Expert Licensed User Longtime User Mar 3, 2025 #8 cooperlegend said: Is this the same as a message ? Click to expand... Probably not. window-messages is something other. I thought you were talking about windows-notifications. Don´t know if it is possible with B4J though to send or receive with B4J. Also Windowsmessages needs a window-handle (or process-handle) for Messages to send/receive Maybe with a jni lib. Don´t know if such exists for B4J. Stackoverflow: https://stackoverflow.com/questions/62088946/send-a-user-defined-windows-message-through-jna Upvote 0
cooperlegend said: Is this the same as a message ? Click to expand... Probably not. window-messages is something other. I thought you were talking about windows-notifications. Don´t know if it is possible with B4J though to send or receive with B4J. Also Windowsmessages needs a window-handle (or process-handle) for Messages to send/receive Maybe with a jni lib. Don´t know if such exists for B4J. Stackoverflow: https://stackoverflow.com/questions/62088946/send-a-user-defined-windows-message-through-jna
stevel05 Expert Licensed User Longtime User Mar 3, 2025 #9 DonManfred said: Don´t know if such exists for B4J. Click to expand... I don't remember seeing any thing that is wrapped and ready to go in B4j for Windows Messages either. Upvote 0
DonManfred said: Don´t know if such exists for B4J. Click to expand... I don't remember seeing any thing that is wrapped and ready to go in B4j for Windows Messages either.
teddybear Well-Known Member Licensed User Mar 3, 2025 #10 cooperlegend said: I assume it is these https://learn.microsoft.com/en-us/windows/win32/learnwin32/window-messages It is not something I have heard of before. It is something I need to send just before my App closes to trigger an event in the calling program (not mine so I can't use any other method) Click to expand... Does the calling program tell your app what type of messages to be sent? the message should include these members such as a window handle, a message identifier Last edited: Mar 3, 2025 Upvote 0
cooperlegend said: I assume it is these https://learn.microsoft.com/en-us/windows/win32/learnwin32/window-messages It is not something I have heard of before. It is something I need to send just before my App closes to trigger an event in the calling program (not mine so I can't use any other method) Click to expand... Does the calling program tell your app what type of messages to be sent? the message should include these members such as a window handle, a message identifier