Click here to Skip to main content
15,915,160 members
Home / Discussions / C#
   

C#

 
AnswerRe: Suggestions for a C# Windows project to learn C# Pin
Koushik Biswas18-Feb-06 13:21
Koushik Biswas18-Feb-06 13:21 
AnswerRe: Suggestions for a C# Windows project to learn C# Pin
Colin Angus Mackay18-Feb-06 13:37
Colin Angus Mackay18-Feb-06 13:37 
QuestionGenerating mouse clicks on desktop Pin
shunnyboy18-Feb-06 11:30
shunnyboy18-Feb-06 11:30 
AnswerRe: Generating mouse clicks on desktop Pin
shamsallana18-Mar-06 11:15
shamsallana18-Mar-06 11:15 
Question[VS 2005] Show a context menu by left click a button Pin
Susuko18-Feb-06 10:46
Susuko18-Feb-06 10:46 
AnswerRe: [VS 2005] Show a context menu by left click a button Pin
BambooMoon18-Feb-06 11:20
BambooMoon18-Feb-06 11:20 
GeneralRe: [VS 2005] Show a context menu by left click a button Pin
Susuko18-Feb-06 12:05
Susuko18-Feb-06 12:05 
GeneralRe: [VS 2005] Show a context menu by left click a button Pin
BambooMoon18-Feb-06 13:04
BambooMoon18-Feb-06 13:04 
This works for me, displaying the context menu at the correct position. Note I'm using the right mouse button, but that shouldn't make any difference. I'm handling the MouseDown event of a control on the form, though.

<br />
		private void datagridview_MouseDown(object sender, MouseEventArgs e)<br />
		{<br />
			// See if the user right-clicked the grid<br />
			if (e.Button == MouseButtons.Right)<br />
			{<br />
                             .......<br />
                             headerContextMenuStrip.Show(dataGridView, e.X, e.Y);<br />
			}<br />
                }<br />

GeneralRe: [VS 2005] Show a context menu by left click a button Pin
Susuko19-Feb-06 0:35
Susuko19-Feb-06 0:35 
QuestionDataGridView / DataGrid help needed Pin
BambooMoon18-Feb-06 9:51
BambooMoon18-Feb-06 9:51 
Questionface detection Pin
haytham_mohammad18-Feb-06 9:19
haytham_mohammad18-Feb-06 9:19 
AnswerRe: face detection Pin
Colin Angus Mackay18-Feb-06 13:40
Colin Angus Mackay18-Feb-06 13:40 
GeneralRe: face detection Pin
haytham_mohammad18-Feb-06 13:49
haytham_mohammad18-Feb-06 13:49 
GeneralRe: face detection Pin
Colin Angus Mackay18-Feb-06 13:52
Colin Angus Mackay18-Feb-06 13:52 
QuestionCurrent Item in ListBox Pin
mostafa_h18-Feb-06 8:17
mostafa_h18-Feb-06 8:17 
GeneralRe: Current Item in ListBox Pin
Koushik Biswas18-Feb-06 13:15
Koushik Biswas18-Feb-06 13:15 
GeneralRe: Current Item in ListBox Pin
mostafa_h19-Feb-06 4:37
mostafa_h19-Feb-06 4:37 
QuestionMDI Client Window Pin
Kamrul Hasan18-Feb-06 8:03
Kamrul Hasan18-Feb-06 8:03 
QuestionHow do I: Show one applications graphical output inside another application? Pin
Red_Wizard_Shot_The_Food18-Feb-06 7:59
Red_Wizard_Shot_The_Food18-Feb-06 7:59 
AnswerRe: How do I: Show one applications graphical output inside another application? Pin
S. Senthil Kumar18-Feb-06 8:13
S. Senthil Kumar18-Feb-06 8:13 
GeneralRe: How do I: Show one applications graphical output inside another application? Pin
Red_Wizard_Shot_The_Food18-Feb-06 8:16
Red_Wizard_Shot_The_Food18-Feb-06 8:16 
AnswerRe: How do I: Show one applications graphical output inside another application? Pin
BambooMoon18-Feb-06 11:22
BambooMoon18-Feb-06 11:22 
AnswerRe: How do I: Show one applications graphical output inside another application? Pin
Dave Kreskowiak19-Feb-06 7:59
mveDave Kreskowiak19-Feb-06 7:59 
Questionimporting pictures Pin
Vineet Rajan18-Feb-06 6:42
Vineet Rajan18-Feb-06 6:42 
AnswerRe: importing pictures Pin
Colin Angus Mackay18-Feb-06 13:44
Colin Angus Mackay18-Feb-06 13:44 

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.