Page 1 of 1

No simple way to detect a right click in editor gadget?

Posted: Mon Feb 09, 2015 3:46 pm
by Kukulkan
Is there really no easy cross-platform solution to detect a simple right click in an editor gadget? Is there a good reason why this gadget does not fire the standard events? I find all the tips and tricks to get it running on Windows but - really? I need API calls for this?

Just wanted to offer my customers a window containing an editor gadget to show them some text (multiline). To allow them easy copy, I like to add a small context menu (copy to clipboard) because not all users are using CTRL+C. It turns out that PB is not able to fulfil such simple task without using CompilerIf's and Windows API, GTK API and Cocoa calls. Unbelievable...

Sometimes I really doubt that choosing PB was a good choice for a commercial project... :|

Kukulkan

Re: No simple way to detect a right click in editor gadget?

Posted: Mon Feb 09, 2015 8:59 pm
by mestnyi
Sometimes I really doubt that choosing PB was a good choice for a commercial project... :|
I also :cry: