Click here to Skip to main content
15,885,537 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Kiosk Application Pin
Mark Salsbery5-Nov-09 12:57
Mark Salsbery5-Nov-09 12:57 
QuestionCall MVC controller method in SIlverlight with params Pin
Deabdy211-Nov-09 22:53
Deabdy211-Nov-09 22:53 
AnswerRe: Call MVC controller method in SIlverlight with params Pin
Xodiak21-Jun-10 15:18
Xodiak21-Jun-10 15:18 
QuestionHow to send mail [Error: The SMTP server requires a secure connection or the client was not authenticated] Pin
Nekkantidivya1-Nov-09 19:24
Nekkantidivya1-Nov-09 19:24 
AnswerRe: How to send mail [Error: The SMTP server requires a secure connection or the client was not authenticated] Pin
Mark Salsbery2-Nov-09 8:44
Mark Salsbery2-Nov-09 8:44 
AnswerRe: How to send mail [Error: The SMTP server requires a secure connection or the client was not authenticated] Pin
earlgraham6-Nov-09 9:41
earlgraham6-Nov-09 9:41 
Questioncentering cursor and object Pin
sadas232341s1-Nov-09 7:57
sadas232341s1-Nov-09 7:57 
AnswerRe: centering cursor and object Pin
Mark Salsbery1-Nov-09 11:16
Mark Salsbery1-Nov-09 11:16 
TCPMem wrote:
I really don't understand why my cursor is far away from the object



You are responding to all the MouseMove events for the UserControl.

When you call e.GetPosition(null) you are getting the cursor position
relative to the entire Silverlight plugin.

Your Canvas is 100 pixels down and to the right of the plugin. The
Rectangle you are moving is another 24 pixels down and to the right
of the Canvas.

So the cursor is always 124x124 away from the object.


What are you trying to do? Do you want to be able to drag the
rectangle with the mouse by clicking on it?

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: centering cursor and object Pin
sadas232341s1-Nov-09 20:17
sadas232341s1-Nov-09 20:17 
GeneralRe: centering cursor and object Pin
Mark Salsbery2-Nov-09 8:27
Mark Salsbery2-Nov-09 8:27 
GeneralRe: centering cursor and object Pin
sadas232341s3-Nov-09 21:32
sadas232341s3-Nov-09 21:32 
QuestionHow can I determine if content fits control? Pin
fjparisIII31-Oct-09 16:01
fjparisIII31-Oct-09 16:01 
AnswerRe: How can I determine if content fits control? [modified] Pin
#realJSOP1-Nov-09 1:03
mve#realJSOP1-Nov-09 1:03 
GeneralRe: How can I determine if content fits control? Pin
fjparisIII1-Nov-09 4:40
fjparisIII1-Nov-09 4:40 
GeneralRe: How can I determine if content fits control? Pin
#realJSOP1-Nov-09 6:02
mve#realJSOP1-Nov-09 6:02 
GeneralRe: How can I determine if content fits control? Pin
fjparisIII1-Nov-09 6:40
fjparisIII1-Nov-09 6:40 
GeneralRe: How can I determine if content fits control? Pin
#realJSOP1-Nov-09 9:05
mve#realJSOP1-Nov-09 9:05 
GeneralRe: How can I determine if content fits control? Pin
fjparisIII1-Nov-09 9:57
fjparisIII1-Nov-09 9:57 
GeneralRe: How can I determine if content fits control? (Solved) Pin
fjparisIII1-Nov-09 10:41
fjparisIII1-Nov-09 10:41 
GeneralRe: How can I determine if content fits control? (Solved) Pin
#realJSOP1-Nov-09 23:09
mve#realJSOP1-Nov-09 23:09 
GeneralRe: How can I determine if content fits control? (Solved) Pin
#realJSOP2-Nov-09 0:04
mve#realJSOP2-Nov-09 0:04 
GeneralRe: How can I determine if content fits control? Pin
#realJSOP1-Nov-09 9:23
mve#realJSOP1-Nov-09 9:23 
QuestionMS RibbonBar Pin
#realJSOP30-Oct-09 12:48
mve#realJSOP30-Oct-09 12:48 
AnswerRe: MS RibbonBar Pin
Christian Graus30-Oct-09 14:07
protectorChristian Graus30-Oct-09 14:07 
GeneralRe: MS RibbonBar Pin
#realJSOP30-Oct-09 23:50
mve#realJSOP30-Oct-09 23:50 

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.