Click here to Skip to main content
15,903,632 members
Home / Discussions / C#
   

C#

 
GeneralRe: Disappearing Controls on Windows Form App Pin
Luc Pattyn23-Aug-10 10:07
sitebuilderLuc Pattyn23-Aug-10 10:07 
GeneralRe: Disappearing Controls on Windows Form App Pin
phil.o23-Aug-10 20:49
professionalphil.o23-Aug-10 20:49 
Questionthe locations are different than the mouse locations.. Pin
prasadbuddhika23-Aug-10 5:31
prasadbuddhika23-Aug-10 5:31 
AnswerRe: the locations are different than the mouse locations.. Pin
OriginalGriff23-Aug-10 6:05
mveOriginalGriff23-Aug-10 6:05 
GeneralRe: the locations are different than the mouse locations.. Pin
prasadbuddhika23-Aug-10 6:11
prasadbuddhika23-Aug-10 6:11 
GeneralRe: the locations are different than the mouse locations.. Pin
Ennis Ray Lynch, Jr.23-Aug-10 6:24
Ennis Ray Lynch, Jr.23-Aug-10 6:24 
GeneralRe: the locations are different than the mouse locations.. Pin
Luc Pattyn23-Aug-10 6:31
sitebuilderLuc Pattyn23-Aug-10 6:31 
GeneralRe: the locations are different than the mouse locations.. Pin
OriginalGriff23-Aug-10 6:45
mveOriginalGriff23-Aug-10 6:45 
I agree with Luc - but I would be tempted not to use the MouseHook lib at all (I've not heard of it, so I can't be sure you aren't using it for good reason). Instead, I would hook into the Panel MouseDown, MouseUp and MouseMove events which would give you coordinates relative to the panel rather than the form. It also only gives you mouse events when the mouse is over the panel - may be relevant!
private void panel1_MouseMove(object sender, MouseEventArgs e)
    {
    tbResult.Text = string.Format("({0},{1})", e.X, e.Y);
    }

Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

GeneralRe: the locations are different than the mouse locations.. Pin
Luc Pattyn23-Aug-10 7:15
sitebuilderLuc Pattyn23-Aug-10 7:15 
QuestionDownload file from server to local folder Pin
Agweet23-Aug-10 4:16
Agweet23-Aug-10 4:16 
AnswerRe: Download file from server to local folder Pin
Luc Pattyn23-Aug-10 4:18
sitebuilderLuc Pattyn23-Aug-10 4:18 
AnswerRe: Download file from server to local folder Pin
Pete O'Hanlon23-Aug-10 4:35
mvePete O'Hanlon23-Aug-10 4:35 
AnswerRe: Download file from server to local folder Pin
Agweet23-Aug-10 6:01
Agweet23-Aug-10 6:01 
GeneralRe: Download file from server to local folder Pin
Ravi Bhavnani23-Aug-10 6:23
professionalRavi Bhavnani23-Aug-10 6:23 
GeneralRe: Download file from server to local folder Pin
Luc Pattyn23-Aug-10 6:33
sitebuilderLuc Pattyn23-Aug-10 6:33 
GeneralRe: Download file from server to local folder Pin
OriginalGriff23-Aug-10 6:48
mveOriginalGriff23-Aug-10 6:48 
GeneralRe: Download file from server to local folder Pin
Agweet23-Aug-10 6:54
Agweet23-Aug-10 6:54 
GeneralRe: Download file from server to local folder Pin
Ravi Bhavnani23-Aug-10 7:04
professionalRavi Bhavnani23-Aug-10 7:04 
GeneralRe: Download file from server to local folder Pin
Ravi Bhavnani23-Aug-10 7:09
professionalRavi Bhavnani23-Aug-10 7:09 
GeneralRe: Download file from server to local folder Pin
Agweet23-Aug-10 20:14
Agweet23-Aug-10 20:14 
GeneralRe: Download file from server to local folder Pin
Ravi Bhavnani24-Aug-10 5:20
professionalRavi Bhavnani24-Aug-10 5:20 
GeneralRe: Download file from server to local folder Pin
OriginalGriff23-Aug-10 8:20
mveOriginalGriff23-Aug-10 8:20 
GeneralRe: Download file from server to local folder Pin
Luc Pattyn23-Aug-10 7:03
sitebuilderLuc Pattyn23-Aug-10 7:03 
GeneralRe: Download file from server to local folder Pin
OriginalGriff23-Aug-10 8:08
mveOriginalGriff23-Aug-10 8:08 
AnswerRe: Download file from server to local folder Pin
johannesnestler24-Aug-10 4:52
johannesnestler24-Aug-10 4:52 

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.