Click here to Skip to main content
15,919,358 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to change system date in .NET Pin
Heath Stewart4-May-04 8:46
protectorHeath Stewart4-May-04 8:46 
GeneralRe: How to change system date in .NET Pin
eggie54-May-04 15:50
eggie54-May-04 15:50 
GeneralUpdate dataset Pin
Appelz4-May-04 2:39
Appelz4-May-04 2:39 
GeneralRe: Update dataset Pin
Heath Stewart4-May-04 4:31
protectorHeath Stewart4-May-04 4:31 
Generalassociate the ContextMenu Pin
cristina_tudor4-May-04 2:23
cristina_tudor4-May-04 2:23 
GeneralRe: associate the ContextMenu Pin
Bill Dean4-May-04 4:28
Bill Dean4-May-04 4:28 
GeneralRe: associate the ContextMenu Pin
Mike Dimmick4-May-04 5:29
Mike Dimmick4-May-04 5:29 
GeneralRe: associate the ContextMenu Pin
Bill Dean4-May-04 5:47
Bill Dean4-May-04 5:47 
Absolutely. It's still the same basic idea though, right?
1) Identify the node being rt-clicked using the GetNodeAt()
2) Decide what to display for a context menu based (at least in part) on the node.

As a general caveat: Be aware that you are not guaranteed to be over the node when the Click event on the MenuItem fires. So no matter which approach you take to drawing the menu, make sure you grab the TreeNode when you draw it if you are going to need the node to handle the Click event (which more often than not, I do.)

Bill
GeneralRe: associate the ContextMenu Pin
Syed Abdul Khader4-May-04 5:44
Syed Abdul Khader4-May-04 5:44 
Generaldrop down list in c# Pin
mrv114-May-04 2:01
mrv114-May-04 2:01 
GeneralRe: drop down list in c# Pin
Bill Dean4-May-04 4:31
Bill Dean4-May-04 4:31 
GeneralRe: drop down list in c# Pin
Heath Stewart4-May-04 4:43
protectorHeath Stewart4-May-04 4:43 
GeneralID3 decision tree algorithm in C# Pin
Member 7511394-May-04 1:15
Member 7511394-May-04 1:15 
GeneralRe: ID3 decision tree algorithm in C# Pin
leppie4-May-04 7:13
leppie4-May-04 7:13 
GeneralException Reporting Pin
sreejith ss nair4-May-04 1:13
sreejith ss nair4-May-04 1:13 
GeneralRe: Exception Reporting Pin
Colin Angus Mackay4-May-04 1:28
Colin Angus Mackay4-May-04 1:28 
QuestionHow to customize PropertyGrid ToolTip Pin
LotusM4-May-04 0:53
LotusM4-May-04 0:53 
Generalcombobox datasource Pin
brain2cpu4-May-04 0:21
professionalbrain2cpu4-May-04 0:21 
GeneralRe: combobox datasource Pin
Colin Angus Mackay4-May-04 0:42
Colin Angus Mackay4-May-04 0:42 
GeneralUpdating More than One table Pin
sreejith ss nair3-May-04 23:46
sreejith ss nair3-May-04 23:46 
GeneralRe: Updating More than One table Pin
Heath Stewart4-May-04 4:13
protectorHeath Stewart4-May-04 4:13 
GeneralAlan Murta's - General Polygon Clipper Pin
d-mon3-May-04 22:55
d-mon3-May-04 22:55 
GeneralRe: Alan Murta's - General Polygon Clipper Pin
Daniel Turini4-May-04 0:07
Daniel Turini4-May-04 0:07 
GeneralRe: Alan Murta's - General Polygon Clipper Pin
Heath Stewart4-May-04 3:52
protectorHeath Stewart4-May-04 3:52 
GeneralRe: Alan Murta's - General Polygon Clipper Pin
d-mon5-May-04 10:41
d-mon5-May-04 10:41 

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.