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

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

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

Post 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
Last edited by Kukulkan on Mon Feb 09, 2015 5:29 pm, edited 1 time in total.
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

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

Post by mestnyi »

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