Hello David,
Some news about mouse events:
I have only one mouse handler procedure which processes Message attribute to
get the real event, I expected that my procedure will be called 3 times in
sequence mouse down, mouse up and clic event.
In fact my procedure is called at the same time by 3 threads, gdb extract:
32 Thread 0x3503 of process 8909 tp7.mouse.on_mouse_event (object=...,
mouse_event=...) at tp7-mouse.adb:420
* 30 Thread 0x3303 of process 8909 tp7.mouse.on_mouse_event (object=...,
mouse_event=...) at tp7-mouse.adb:431
28 Thread 0x2e87 of process 8909 0x00000001000c1648 in
tp7.mouse.on_mouse_event (object=..., mouse_event=...) at tp7-mouse.adb:421
A priori it's not an issue for my procedure but it's good to know.
I rely on the button flags in Mouse_Event_Record to determine which button is
pressed but for the right button while I get the event the default browser
contextual menu is also displayed.
I tried this with no success:
Graph_View.On_Mouse_Right_Click_Handler (null);
How to set no display of the contextual menu without to give a handler?
PS: I have the bad habit to send pictures in my messages to the list and I've
got for example:
Your mail to 'Gnoga-list' with the subject
Re: [Gnoga-list] Text buffer handling.
Is being held until the list moderator can review it for approval.
The reason it is being held:
Message body is too big: 79445 bytes with a limit of 40 KB
Don't know if you can do something?
Regards, Pascal.
http://blady.pagesperso-orange.fr
Le 29 déc. 2014 à 12:44, Rabbi David Botton <[email protected]> a écrit :
> >
> > By the way, why didn't you add other mouse events as Enter, Leave, etc?
>
> Because those events do not receive a Mouse_Event_Record
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now.
> http://goparallel.sourceforge.net_______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list