cudatext editor window Windows API messaging support eg WM_PASTE, WM_COPY

Post Reply
cydonia
Posts: 22
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: 2194
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: 22
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: 2194
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.
Post Reply