LEADTOOLS Support
Medical
Medical SDK Questions
Is there a way to find out what MedicalViewerActionType is currently assigned to a left mouse click?
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 27, 2008 12:14:24 AM(UTC)
Groups: Registered
Posts: 28
Is there a way to do this programatically?
I need this so that I can temprarily save this actionType and then role back to it later!
Thanks!
#2
Posted
:
Thursday, March 27, 2008 5:15:15 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The MedicalViewer class doesn't have a specific method that does this, but you could loop through all of the different types to see which one is currently using the left mouse button. Here's a C# code snippet that shows this:
MedicalViewerActionType currentLeftMouseAction = MedicalViewerActionType.None;
foreach (MedicalViewerActionType type in Enum.GetValues(typeof(MedicalViewerActionType)))
{
if (medicalViewer1.GetActionButton(type) == MedicalViewerMouseButtons.Left)
{
currentLeftMouseAction = type;
break;
}
}
MessageBox.Show(currentLeftMouseAction.ToString());
#3
Posted
:
Friday, March 28, 2008 4:08:12 AM(UTC)
Groups: Registered
Posts: 28
LEADTOOLS Support
Medical
Medical SDK Questions
Is there a way to find out what MedicalViewerActionType is currently assigned to a left mouse click?
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.