Click here to Skip to main content
15,886,799 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to generate a graphic in the c# asp .net? Pin
leppie30-Jan-03 9:37
leppie30-Jan-03 9:37 
GeneralRe: How to generate a graphic in the c# asp .net? Pin
zoltix30-Jan-03 12:50
zoltix30-Jan-03 12:50 
AnswerRe: How to generate a graphic in the c# asp .net? Pin
Nick Parker30-Jan-03 16:06
protectorNick Parker30-Jan-03 16:06 
Generalspell check system Pin
jtmtv1829-Jan-03 21:31
jtmtv1829-Jan-03 21:31 
GeneralPassing string to C dll from c# Pin
suresh_sathya29-Jan-03 19:53
suresh_sathya29-Jan-03 19:53 
GeneralRe: Passing string to C dll from c# Pin
Stephane Rodriguez.30-Jan-03 10:27
Stephane Rodriguez.30-Jan-03 10:27 
GeneralC#, IWebBrowser2, and JScript Pin
Patrick Hill29-Jan-03 14:32
Patrick Hill29-Jan-03 14:32 
GeneralCrownWood magic Popup Menu Pin
jtmtv1829-Jan-03 11:45
jtmtv1829-Jan-03 11:45 
hey guys....and girls.. i need some help with the crownwood magic libray if you are fimiliar with it... i shouldnt need help cause i have had this problem before..and fixed it....but i lost the source code i fixed it on..and im stumped lol......anyways i need to know how i can display my pop up menu even infront of a richtextbox..... here the code on how i display it
<br />
protected override void OnMouseDown(MouseEventArgs e){<br />
	if(e.Button == MouseButtons.Right)<br />
	{<br />
	try{<br />
		//this.OnMouseDown(e);<br />
		OnControlButtonUp(this,e);<br />
		}catch(Exception ex){MessageBox.Show(ex.ToString());}<br />
		}<br />
		return;<br />
		}<br />
protected void OnControlButtonUp(object sender, MouseEventArgs e)<br />
		   {<br />
	if (e.Button == MouseButtons.Right)<br />
	{<br />
		Control ctl = sender as Control;<br />
		// Create the menu items<br />
		PopupMenu popup = new PopupMenu();<br />
	        MenuCommand menu0 = new MenuCommand("-");	<br />
		MenuCommand menu1 = new MenuCommand("&m3");<br />
		MenuCommand menu2 = new MenuCommand("&m2");<br />
		MenuCommand menu3 = new MenuCommand("&m1");<br />
		MenuCommand menu5 = new MenuCommand("&m4");<br />
		MenuCommand menu4 = new MenuCommand("-");<br />
		MenuCommand menu6 = new MenuCommand("&m5");<br />
	        MenuCommand menu7 = new MenuCommand("m6");<br />
	        MenuCommand menu8 = new MenuCommand("m7");<br />
		popup.MenuCommands.AddRange(new MenuCommand[]{menu0,menu1, menu2,menu5,menu3,menu4,menu8,menu6,menu7,menu4});<br />
		// Create the popup menu object<br />
		// Define the list of menu commands<br />
		// Show it!<br />
		MenuCommand selected = popup.TrackPopup(ctl.PointToScreen(new Point(e.X, e.Y)));<br />
		// Was an item selected?<br />
		if (selected != null)<br />
		{<br />
		// Selection specific actions...<br />
	        if (selected == menu1)<br />
		   {}<br />
		else if(selected ==menu2)<br />
		{<br />
		}	<br />
	}<br />
       }<br />
     }<br />

thank you..for reading this..... Magic Library [^]
GeneralRe: CrownWood magic Popup Menu Pin
leppie29-Jan-03 11:57
leppie29-Jan-03 11:57 
GeneralCrownWood magic Popup Menu - Still cant get it.. any ideas? Pin
jtmtv1829-Jan-03 12:05
jtmtv1829-Jan-03 12:05 
GeneralPerforming Bulk Insert from C# Pin
Darryl Borden29-Jan-03 11:24
Darryl Borden29-Jan-03 11:24 
GeneralRe: Performing Bulk Insert from C# Pin
Nick Parker30-Jan-03 16:09
protectorNick Parker30-Jan-03 16:09 
GeneralCommand Line compile problem Pin
Patrick Hill29-Jan-03 11:03
Patrick Hill29-Jan-03 11:03 
GeneralRe: Command Line compile problem Pin
James T. Johnson29-Jan-03 11:53
James T. Johnson29-Jan-03 11:53 
GeneralRe: Command Line compile problem Pin
Patrick Hill29-Jan-03 14:27
Patrick Hill29-Jan-03 14:27 
Generalsystem email manager Pin
Dan the Man29-Jan-03 11:04
Dan the Man29-Jan-03 11:04 
GeneralC# and the Microsoft Web Browser Control Pin
Jon Newman29-Jan-03 10:17
Jon Newman29-Jan-03 10:17 
GeneralRe: C# and the Microsoft Web Browser Control Pin
TigerNinja_29-Jan-03 12:21
TigerNinja_29-Jan-03 12:21 
GeneralRe: C# and the Microsoft Web Browser Control Pin
John Mautari30-Jan-03 5:38
John Mautari30-Jan-03 5:38 
GeneralDataGrid Columns Display Pin
hkl29-Jan-03 9:10
hkl29-Jan-03 9:10 
GeneralRe: DataGrid Columns Display Pin
TigerNinja_29-Jan-03 12:31
TigerNinja_29-Jan-03 12:31 
QuestionHow to launch an executable Pin
matthias s.29-Jan-03 9:08
matthias s.29-Jan-03 9:08 
AnswerRe: How to launch an executable - Solution Pin
matthias s.29-Jan-03 9:42
matthias s.29-Jan-03 9:42 
AnswerRe: How to launch an executable Pin
Mark Sanders30-Jan-03 3:12
Mark Sanders30-Jan-03 3:12 
Generalprblem with page.navigate Pin
bindu_harve29-Jan-03 8:49
bindu_harve29-Jan-03 8:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.