Hello,
Has anybody sent window event from C++ to Clarion window?
PostMessage() does not return error, but Clarion window does not register event. Code PostMessage((HWND)win_hndl, WM_USER, 0, 0); is not registered in Clarion ThisWindow.TakeEvent() or ThisWindow.TakeWindowEvent().
Interesing thing is that PostMessage((HWND)win_hndl, WM_CLOSE, 0, 0); is registered, and window closes.
I have found this post Printed Icetips Article, but that does not work. And, post is 22 years old. Maybe things changed how are they processes in Clarion window? I can successfully register message in Clarion msg_id = RegisterWindowMessageA(msg_str) and in C++ PostMessage((HWND)win_hndl, msg_id, 0, 0);. But again, it is not processed inside Clarion window.