Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How earn the Right mouse case? (Read 1345 times)
bemorem
YaBB Newbies
*
Offline


MacPro Xeon Quad

Posts: 44
Joined: May 3rd, 2007
How earn the Right mouse case?
Dec 9th, 2008 at 6:52am
Print Post  
How earn the Right mouse case?

Code
Select All
private void fcx1_MouseDownEvent(object sender, AxFLOWCHARTLib._IFlowChartEvents_MouseDownEvent e)
    {
	switch (e.button)
	{
	  case FLOWCHARTLib.EMouseButton.mbLeft:

	    break;
	  case FLOWCHARTLib.EMouseButton.mbMiddle:

	    break;
	  case FLOWCHARTLib.EMouseButton.mbRight:

	    int TbarHeight = this.Height - this.ClientSize.Height;
	    menuFCX.Show(e.docX+this.Left, e.docY+this.Top+TbarHeight);

	    break;
	}
    }
 



Above code is normal FCX code.

In FC.Net, How earn the Right mouse button case?.

Thanks in advance.

P.S.-----------------------------------------------
In 4.3 FC.Net, Developer's Guide is little helpful! --;
  

HW: MacPro Xeon Quad/ 4GB RAM&&OS: WinXP sp3 / .NET 3.5&&Dev: VS 2008 C# sp1&&flowchart .Net ver 4.3.x&&
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How earn the Right mouse case?
Reply #1 - Dec 9th, 2008 at 8:51am
Print Post  
The v4.3 Flowchart class derives that event from the base Control class:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.mousedown.a...

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
bemorem
YaBB Newbies
*
Offline


MacPro Xeon Quad

Posts: 44
Joined: May 3rd, 2007
Re: How earn the Right mouse case?
Reply #2 - Dec 10th, 2008 at 12:26am
Print Post  
Thanks.

I fixed it.
  

HW: MacPro Xeon Quad/ 4GB RAM&&OS: WinXP sp3 / .NET 3.5&&Dev: VS 2008 C# sp1&&flowchart .Net ver 4.3.x&&
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint