Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
GeneralRe: ActiveX and c# Pin
ORi x18-Sep-02 3:29
ORi x18-Sep-02 3:29 
GeneralRe: ActiveX and c# Pin
Stephane Rodriguez.18-Sep-02 4:03
Stephane Rodriguez.18-Sep-02 4:03 
GeneralBeep Pin
Mazdak18-Sep-02 0:02
Mazdak18-Sep-02 0:02 
GeneralRe: Beep Pin
Stephane Rodriguez.18-Sep-02 1:46
Stephane Rodriguez.18-Sep-02 1:46 
QuestionStatic Analysis tools? Pin
Martin D17-Sep-02 23:51
Martin D17-Sep-02 23:51 
AnswerRe: Static Analysis tools? Pin
Stephane Rodriguez.18-Sep-02 1:25
Stephane Rodriguez.18-Sep-02 1:25 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 4:15
leppie18-Sep-02 4:15 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 6:24
leppie18-Sep-02 6:24 
GeneralRe: Static Analysis tools? Pin
Stephane Rodriguez.18-Sep-02 6:47
Stephane Rodriguez.18-Sep-02 6:47 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 6:54
leppie18-Sep-02 6:54 
GeneralRe: Static Analysis tools? Pin
Martin D18-Sep-02 23:13
Martin D18-Sep-02 23:13 
GeneralRe: Static Analysis tools? Pin
leppie18-Sep-02 23:42
leppie18-Sep-02 23:42 
GeneralRe: Static Analysis tools? Pin
James T. Johnson19-Sep-02 0:18
James T. Johnson19-Sep-02 0:18 
GeneralRe: Static Analysis tools? Pin
leppie19-Sep-02 0:27
leppie19-Sep-02 0:27 
GeneralRe: Static Analysis tools? Pin
James T. Johnson19-Sep-02 0:42
James T. Johnson19-Sep-02 0:42 
GeneralRe: Static Analysis tools? Pin
James T. Johnson19-Sep-02 4:17
James T. Johnson19-Sep-02 4:17 
GeneralRe: Static Analysis tools? Pin
leppie19-Sep-02 5:24
leppie19-Sep-02 5:24 
GeneralRe: Static Analysis tools? Pin
James T. Johnson18-Sep-02 23:53
James T. Johnson18-Sep-02 23:53 
GeneralRe: Static Analysis tools? Pin
leppie19-Sep-02 0:17
leppie19-Sep-02 0:17 
GeneralRe: Static Analysis tools? Pin
James T. Johnson19-Sep-02 0:38
James T. Johnson19-Sep-02 0:38 
GeneralRe: Static Analysis tools? Pin
leppie19-Sep-02 1:09
leppie19-Sep-02 1:09 
GeneralPopup menu Pin
Mazdak17-Sep-02 21:17
Mazdak17-Sep-02 21:17 
GeneralRe: Popup menu Pin
Stephane Rodriguez.17-Sep-02 21:45
Stephane Rodriguez.17-Sep-02 21:45 
You have two options :
The first is done by using the VS.NET Toolbox window and produces code like this :
// associate the context menu to the control
this.ContextMenu = new System.Windows.Forms.ContextMenu();
// TODO : fill context menu with menu items, and event handlers



Other, in your listview click handler :
// check if this is a right click
if (this.MouseButtons==MouseButtons.Right)
// then
System.Windows.Forms.ContextMenu.Show (this, this.MousePosition);




MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
GeneralRe: Popup menu Pin
Mazdak17-Sep-02 21:51
Mazdak17-Sep-02 21:51 
QuestionAuto-updater? Pin
floydboy5817-Sep-02 18:27
floydboy5817-Sep-02 18:27 

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.