Click here to Skip to main content
15,904,655 members
Home / Discussions / C#
   

C#

 
Questionhow do I... Pin
KORCARI26-Feb-05 3:22
KORCARI26-Feb-05 3:22 
AnswerRe: how do I... Pin
leppie26-Feb-05 3:24
leppie26-Feb-05 3:24 
AnswerRe: how do I... Pin
Alvaro Mendez26-Feb-05 7:06
Alvaro Mendez26-Feb-05 7:06 
Generalmessage speed Pin
Jugen26-Feb-05 3:11
Jugen26-Feb-05 3:11 
GeneralRe: message speed Pin
leppie26-Feb-05 3:29
leppie26-Feb-05 3:29 
GeneralRe: message speed Pin
Jugen27-Feb-05 5:18
Jugen27-Feb-05 5:18 
QuestionHow to do Popup Menu Pin
Mr.AMT26-Feb-05 2:41
Mr.AMT26-Feb-05 2:41 
AnswerRe: How to do Popup Menu Pin
MitchellBaldwin26-Feb-05 3:52
MitchellBaldwin26-Feb-05 3:52 
Do you really need/want to do it in code? It is quite easy tp do in the VS .NET designer instead:

Drag a ContextMenu component onto your application's main form (it will appear in the component tray). When the component is selected it will appear at the top of your form in the same location as a main menu does (temporarily replacing the main menu if one is present). To add items just start typing there as you would when creating a standard menu. With your main form selected, choose the name of the ContextMenu you just added for the form's "ContextMenu" property (it should appear in that property's drop down list in the Property Browser). That's all there is to it.

If you want to see how to do it in code, just look at the code VS generates for you after you've done the above.

Hope this helps.

Mitchell
GeneralDatagrid + option to open word doc Pin
chandtec25-Feb-05 23:52
chandtec25-Feb-05 23:52 
GeneralRe: Datagrid + option to open word doc Pin
sreejith ss nair26-Feb-05 1:10
sreejith ss nair26-Feb-05 1:10 
GeneralRe: Datagrid + option to open word doc Pin
Anonymous26-Feb-05 23:49
Anonymous26-Feb-05 23:49 
GeneralRe: Datagrid + option to open word doc Pin
sreejith ss nair27-Feb-05 0:09
sreejith ss nair27-Feb-05 0:09 
GeneralRe: Datagrid + option to open word doc Pin
Anonymous27-Feb-05 18:00
Anonymous27-Feb-05 18:00 
GeneralRe: Datagrid + option to open word doc Pin
sreejith ss nair27-Feb-05 19:18
sreejith ss nair27-Feb-05 19:18 
GeneralRe: Datagrid + option to open word doc Pin
chandtec27-Feb-05 20:40
chandtec27-Feb-05 20:40 
GeneralRe: Datagrid + option to open word doc Pin
Anonymous27-Feb-05 3:15
Anonymous27-Feb-05 3:15 
GeneralRe: Datagrid + option to open word doc Pin
sreejith ss nair27-Feb-05 16:40
sreejith ss nair27-Feb-05 16:40 
GeneralPerfect coders wanted (freelancers) Pin
PavelMenshikov25-Feb-05 23:43
PavelMenshikov25-Feb-05 23:43 
GeneralRe: Perfect coders wanted (freelancers) Pin
sreejith ss nair26-Feb-05 1:21
sreejith ss nair26-Feb-05 1:21 
GeneralRe: Perfect coders wanted (freelancers) Pin
Colin Angus Mackay26-Feb-05 9:26
Colin Angus Mackay26-Feb-05 9:26 
GeneralRe: Perfect coders wanted (freelancers) Pin
sreejith ss nair26-Feb-05 20:14
sreejith ss nair26-Feb-05 20:14 
GeneralFileSystemWatcher Delay Pin
Zishan Haider25-Feb-05 22:52
Zishan Haider25-Feb-05 22:52 
GeneralRe: FileSystemWatcher Delay Pin
leppie25-Feb-05 23:36
leppie25-Feb-05 23:36 
GeneralRe: FileSystemWatcher Delay Pin
Anonymous26-Feb-05 21:08
Anonymous26-Feb-05 21:08 
QuestionHow do I... Pin
KORCARI25-Feb-05 22:13
KORCARI25-Feb-05 22:13 

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.