LEADTOOLS Support
General
General Questions
MedicalViewerMultiCell doesn't respond to MouseClick event when cell type is 3D
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, March 24, 2011 11:16:25 AM(UTC)
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.
#2
Posted
:
Friday, March 25, 2011 12:19:19 PM(UTC)
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
#3
Posted
:
Friday, March 25, 2011 2:26:09 PM(UTC)
Groups: Registered
Posts: 10
Yes, it works. Thanks lot.
LEADTOOLS Support
General
General Questions
MedicalViewerMultiCell doesn't respond to MouseClick event when cell type is 3D
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.