Click here to Skip to main content
15,895,831 members
Home / Discussions / C#
   

C#

 
GeneralRe: Repeat XML node Pin
Mirko198023-Sep-09 2:58
Mirko198023-Sep-09 2:58 
GeneralRe: Repeat XML node Pin
Richard MacCutchan23-Sep-09 6:34
mveRichard MacCutchan23-Sep-09 6:34 
QuestionMouse and button position difference Pin
p3rson22-Sep-09 7:09
p3rson22-Sep-09 7:09 
AnswerRe: Mouse and button position difference Pin
EliottA22-Sep-09 7:36
EliottA22-Sep-09 7:36 
GeneralRe: Mouse and button position difference Pin
p3rson22-Sep-09 7:44
p3rson22-Sep-09 7:44 
GeneralRe: Mouse and button position difference Pin
EliottA22-Sep-09 7:56
EliottA22-Sep-09 7:56 
GeneralRe: Mouse and button position difference Pin
p3rson22-Sep-09 8:13
p3rson22-Sep-09 8:13 
GeneralRe: Mouse and button position difference Pin
EliottA22-Sep-09 8:21
EliottA22-Sep-09 8:21 
A few things, your mouse position won't update when you hover over the button as the event isn't triggered when the mouse is over the button, furthermore the button x,y is relative to the parent (form) where the mouse position is relative to the desktop.

This means the button location will never change, but if you move the form and put the mouse in the exact same position relative to the top left of the form, your x,y coordinates will vary.

I still don't quite understand what it is you are trying to do so I can't offer you a solution, but I can explain my observations of different behavior.

Again the location (x,y as you put it) is relative to the parent, so form position is very important.


GeneralRe: Mouse and button position difference Pin
p3rson22-Sep-09 8:50
p3rson22-Sep-09 8:50 
GeneralRe: Mouse and button position difference Pin
EliottA22-Sep-09 8:53
EliottA22-Sep-09 8:53 
GeneralRe: Mouse and button position difference Pin
p3rson22-Sep-09 8:56
p3rson22-Sep-09 8:56 
GeneralRe: Mouse and button position difference Pin
Ian Shlasko22-Sep-09 9:27
Ian Shlasko22-Sep-09 9:27 
GeneralRe: Mouse and button position difference Pin
p3rson22-Sep-09 9:41
p3rson22-Sep-09 9:41 
QuestionContent-Disposition Attachment not working in IE7 Pin
sudhirBirlapur22-Sep-09 6:14
sudhirBirlapur22-Sep-09 6:14 
AnswerRe: Content-Disposition Attachment not working in IE7 Pin
EliottA22-Sep-09 7:35
EliottA22-Sep-09 7:35 
AnswerRe: Content-Disposition Attachment not working in IE7 Pin
Manas Bhardwaj22-Sep-09 9:07
professionalManas Bhardwaj22-Sep-09 9:07 
GeneralRe: Content-Disposition Attachment not working in IE7 Pin
sudhirBirlapur22-Sep-09 18:59
sudhirBirlapur22-Sep-09 18:59 
Questionwriting usb driver in visual C#.Net.? Pin
Mir_As22-Sep-09 4:23
Mir_As22-Sep-09 4:23 
AnswerRe: writing usb driver in visual C#.Net.? Pin
Dave Kreskowiak22-Sep-09 4:36
mveDave Kreskowiak22-Sep-09 4:36 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Mir_As22-Sep-09 5:04
Mir_As22-Sep-09 5:04 
GeneralRe: writing usb driver in visual C#.Net.? Pin
EliottA22-Sep-09 5:10
EliottA22-Sep-09 5:10 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Dave Kreskowiak22-Sep-09 5:19
mveDave Kreskowiak22-Sep-09 5:19 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Xmen Real 22-Sep-09 5:36
professional Xmen Real 22-Sep-09 5:36 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Dave Kreskowiak22-Sep-09 6:26
mveDave Kreskowiak22-Sep-09 6:26 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Richard MacCutchan22-Sep-09 6:27
mveRichard MacCutchan22-Sep-09 6: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.