Page 1 of 1

cudatext editor window Windows API messaging support eg WM_PASTE, WM_COPY

Posted: 26.07.2024 03:52
by cydonia
Although cudatext has extensive api support through python and interoperabilty through the command pallete unlike other text editors such as EditPadPro I am unable to use Windows API messaging from other software such as WM_PASTE, WM_COPY to send/receive text from the cudatext editor control window. Could this support please be enabled if available?

Re: cudatext editor window Windows API messaging support eg WM_PASTE, WM_COPY

Posted: 26.07.2024 06:02
by main Alexey
how do you get the handle of the editor window (to use it with WM_COPY)?

Re: cudatext editor window Windows API messaging support eg WM_PASTE, WM_COPY

Posted: 28.07.2024 06:24
by cydonia
A method that I successfully used with EditPadPro7 was using Findwindow API and the class TEditPadProEditorMain and enumerating child windows to get the editor window handle
With Cudatext I can find the application window by caption (or partial caption with more apis) and tried enumerating child windows such as Window20 unsuccessfully, any suggestions?

Re: cudatext editor window Windows API messaging support eg WM_PASTE, WM_COPY

Posted: 28.07.2024 06:28
by main Alexey
No suggestions, i never tried such automation in apps.