cudatext editor window Windows API messaging support eg WM_PASTE, WM_COPY

Post Reply
cydonia
Posts: 23
Joined: 26.07.2024 01:09

cudatext editor window Windows API messaging support eg WM_PASTE, WM_COPY

Post 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?
main Alexey
Posts: 2300
Joined: 25.08.2021 18:15

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

Post by main Alexey »

how do you get the handle of the editor window (to use it with WM_COPY)?
cydonia
Posts: 23
Joined: 26.07.2024 01:09

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

Post 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?
main Alexey
Posts: 2300
Joined: 25.08.2021 18:15

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

Post by main Alexey »

No suggestions, i never tried such automation in apps.
main Alexey
Posts: 2300
Joined: 25.08.2021 18:15

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

Post by main Alexey »

i told that i planned to add WM_COPY code. but sorry.
i did not find time. now I am not sure I want to do it. needing of this feature is very very small.
sorry.
you may try to add it in Pascal patch in Github.
Post Reply