Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, March 24, 2011 11:16:25 AM(UTC)
David9908Liu

Groups: Registered
Posts: 10


Hi, I am using LEAD Tools version 17.
I added the MouseClick event handle to a viewer cell but it only respond when the cell type is 2D. My question is, how can I make it to respond to the MouseClick event when the cell type is 3D, like VRT or MPR? Actually I just want the right click event to popup a menu.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, March 25, 2011 12:19:19 PM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

Was thanked: 3 time(s) in 3 post(s)

Hello,

In the demo: "\Program Files (x86)\LEAD Technologies\LEADTOOLS 17\Examples\DotNet\CS\Main3DDemo\CSMain3dDemo_x86.cproj"
In the file: MainForm.cs
In the function: Initalize3DCell

I added the code: cell.MouseDown += new MouseEventHandler(cell_MouseDown);

In the cell_MouseDown event I added the code:
MessageBox.Show("medical3dControl_mouseDown");

I then ran the code and loaded a 3D dataset.  Whenever I click on the volume with any mouse button I saw my message box appear.
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 
#3 Posted : Friday, March 25, 2011 2:26:09 PM(UTC)
David9908Liu

Groups: Registered
Posts: 10


Yes, it works. Thanks lot.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.105 seconds.