Page 1 of 1

EditorGadget Context Menu

Posted: Fri May 09, 2025 7:00 pm
by mk-soft
I don't know if that's a bug.

But I miss the standard context menu (copy, cut, paste, etc) as there is with Linux or macOS.

// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)

Re: EditorGadget Context Menu

Posted: Fri May 09, 2025 7:06 pm
by Quin
AFAIK this is not standard on Windows, at least with native controls.
You need UWP, or WinUI, or whatever managed-code UI framework microsoft feels like telling you to use today :evil:

Re: EditorGadget Context Menu

Posted: Sat May 10, 2025 12:54 am
by BarryG
Quin wrote: Fri May 09, 2025 7:06 pmAFAIK this is not standard on Windows, at least with native controls.
Correct. The EditorGadget is a RichEdit Control on Windows, which doesn't support menus, so this is not a bug.

Requests to support menus for the EditorGadget have been made several times before:

viewtopic.php?t=20189
viewtopic.php?t=70006
viewtopic.php?t=63168

Re: EditorGadget Context Menu

Posted: Sat May 10, 2025 10:00 am
by Shardik
mk-soft wrote: Fri May 09, 2025 7:00 pm I don't know if that's a bug.

But I miss the standard context menu (copy, cut, paste, etc) as there is with Linux or macOS.
You may take a look into this 10 year old example in which I had taken RASHAD's Windows code and put it into a cross-platform example.