Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Context Menu request
Re: Context Menu request [message #44198 is a reply to message #44197] |
Thu, 22 January 2015 16:58 |
|
Klugier
Messages: 1076 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello frankdeprins,
It makes sense. It seems that default behaviour for M$ Windows operating system family is behaviour you were talking about (I siwtched OS from Linux to test it ). What is funny here is that GTK apss for example Firefox have got different behaviour on Unix like operating system and Windows.
Of course we can emulate this behaviour when Windows is detected by simply using "#ifdef" preprocessor macro. Example (pseudocode):
#ifdef PLATFORM_WINDOWS
// Right up invokes context menu
#else
// Right down invokes context menu
#endif
P.S.
This change should be carefully introduced (What happend with custom Ctrl's - Should we move WhenBar to Ctrl class to make it independent from operating system).
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Thu, 22 January 2015 18:57] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Apr 29 10:17:46 CEST 2024
Total time taken to generate the page: 0.03329 seconds
|