Click here to Skip to main content
15,890,973 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Namespaces.. Pin
stephen woolhead19-Jan-03 4:01
stephen woolhead19-Jan-03 4:01 
Generallog4net... Pin
Ray Cassick14-Jan-03 18:50
Ray Cassick14-Jan-03 18:50 
GeneralRe: log4net... Pin
leppie15-Jan-03 0:37
leppie15-Jan-03 0:37 
GeneralRe: log4net... Pin
Paul Ingles15-Jan-03 11:25
Paul Ingles15-Jan-03 11:25 
GeneralRe: log4net... Pin
Gertjan Schuurmans15-Jan-03 12:06
Gertjan Schuurmans15-Jan-03 12:06 
Generalhelp with TreeView and right-click popup menu Pin
Marc Clifton14-Jan-03 11:31
mvaMarc Clifton14-Jan-03 11:31 
GeneralRe: help with TreeView and right-click popup menu Pin
leppie14-Jan-03 11:49
leppie14-Jan-03 11:49 
GeneralRe: help with TreeView and right-click popup menu Pin
Marc Clifton15-Jan-03 0:39
mvaMarc Clifton15-Jan-03 0:39 
Thanks!

Almost works. The mouse position by this point is over the item the user clicked in the popup menu.

You led me down the correct path though, which is to write a mouse down event handler:

private void EventMouseDown(object sender, MouseEventArgs e)
{
	tn=tvSchema.GetNodeAt(e.X, e.Y);
}


and save the node the user clicked on.

Note that it has to be a mouse down event. I tried mouse up, but that doesn't fire until the popup menu is done, and thus the mouse position is again wrong.

Marc

Help! I'm an AI running around in someone's f*cked up universe simulator.
Sensitivity and ethnic diversity means celebrating difference, not hiding from it. - Christian Graus
Every line of code is a liability - Taka Muraoka

GeneralVS.Net embedding cursors Pin
jstonge14-Jan-03 1:06
jstonge14-Jan-03 1:06 
GeneralGeneral opinion on architecture needed Pin
Paul Ingles13-Jan-03 11:56
Paul Ingles13-Jan-03 11:56 
GeneralRe: General opinion on architecture needed Pin
Gertjan Schuurmans13-Jan-03 13:02
Gertjan Schuurmans13-Jan-03 13:02 
GeneralCustom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel13-Jan-03 1:34
Victor Vogelpoel13-Jan-03 1:34 
GeneralRe: Custom CodeAccessSecurity implementing Beta expriration Pin
Victor Vogelpoel16-Jan-03 7:36
Victor Vogelpoel16-Jan-03 7:36 
GeneralDatabound TreeView Pin
yaaang12-Jan-03 20:16
yaaang12-Jan-03 20:16 
GeneralUsing .NET objects from good-ol JScript Pin
Nick Blumhardt12-Jan-03 17:12
Nick Blumhardt12-Jan-03 17:12 
GeneralRe: Using .NET objects from good-ol JScript Pin
Stephane Rodriguez.14-Jan-03 1:42
Stephane Rodriguez.14-Jan-03 1:42 
GeneralRe: Using .NET objects from good-ol JScript Pin
Nick Blumhardt14-Jan-03 16:33
Nick Blumhardt14-Jan-03 16:33 
Generalwildcard file exits and delete methods Pin
Lorne11-Jan-03 8:49
Lorne11-Jan-03 8:49 
GeneralRe: wildcard file exits and delete methods Pin
leppie12-Jan-03 8:46
leppie12-Jan-03 8:46 
GeneralResource Question Pin
matthias s.9-Jan-03 2:26
matthias s.9-Jan-03 2:26 
GeneralRe: Resource Question Pin
Stephane Rodriguez.9-Jan-03 2:56
Stephane Rodriguez.9-Jan-03 2:56 
QuestionHow to tell if .NET framework is installed? Pin
BigAndy9-Jan-03 1:42
BigAndy9-Jan-03 1:42 
AnswerRe: How to tell if .NET framework is installed? Pin
Stephane Rodriguez.9-Jan-03 2:50
Stephane Rodriguez.9-Jan-03 2:50 
GeneralASP.NET Apps NOT Working HELP ! Pin
Dato8-Jan-03 4:12
Dato8-Jan-03 4:12 
GeneralRe: ASP.NET Apps NOT Working HELP ! Pin
Daniel Turini8-Jan-03 5:04
Daniel Turini8-Jan-03 5:04 

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.