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

C#

 
GeneralRe: Transparent Avalon application Pin
J. Dunlap28-Sep-05 17:30
J. Dunlap28-Sep-05 17:30 
Questionunions in C# Pin
Marc Clifton28-Sep-05 10:25
mvaMarc Clifton28-Sep-05 10:25 
AnswerRe: unions in C# Pin
David Stone28-Sep-05 10:43
sitebuilderDavid Stone28-Sep-05 10:43 
GeneralRe: unions in C# Pin
Marc Clifton28-Sep-05 10:56
mvaMarc Clifton28-Sep-05 10:56 
GeneralRe: unions in C# Pin
David Stone28-Sep-05 11:02
sitebuilderDavid Stone28-Sep-05 11:02 
QuestionGet mouse coordinates anywhere on the form Pin
Dan Neely28-Sep-05 10:06
Dan Neely28-Sep-05 10:06 
AnswerRe: Get mouse coordinates anywhere on the form Pin
Dan Neely28-Sep-05 10:20
Dan Neely28-Sep-05 10:20 
AnswerRe: Get mouse coordinates anywhere on the form Pin
[Marc]28-Sep-05 11:29
[Marc]28-Sep-05 11:29 
If you want to know where it is, you can use Cursor.Position. It is in screen coordinates though, so have to substract the location of the form from it.

If you want to be notified of every move of the mouse on your form, you can implement <a href = "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsimessagefilterclasstopic.asp" rel="nofollow">IMessageFilter</a>[<a href = "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsimessagefilterclasstopic.asp" target = "_blank" rel="nofollow">^</a>]. Then, in PreFilterMessage you can handle the <a href = "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/mouseinputreference/mouseinputmessages/wm_mousemove.asp" rel="nofollow">WM_MOUSEMOVE</a>[<a href = "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/mouseinputreference/mouseinputmessages/wm_mousemove.asp" target = "_blank" rel="nofollow">^</a>] (= 512) message.

Hope this helps! Cool | :cool:

Pompiedompiedom... Wink | ;)
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick

QuestionMake an MDIChild not from MDIParent Pin
kulile28-Sep-05 9:46
kulile28-Sep-05 9:46 
AnswerRe: Make an MDIChild not from MDIParent Pin
Dave Kreskowiak28-Sep-05 11:18
mveDave Kreskowiak28-Sep-05 11:18 
GeneralRe: Make an MDIChild not from MDIParent Pin
Anonymous29-Sep-05 0:31
Anonymous29-Sep-05 0:31 
Questionwhat really happens to form when closed from controlbox X Pin
tekken2228-Sep-05 9:15
tekken2228-Sep-05 9:15 
AnswerRe: what really happens to form when closed from controlbox X Pin
Dan Neely28-Sep-05 10:03
Dan Neely28-Sep-05 10:03 
QuestionA Console window for Trace.WriteLine Pin
Account Removal28-Sep-05 8:59
Account Removal28-Sep-05 8:59 
AnswerRe: A Console window for Trace.WriteLine Pin
Heath Stewart28-Sep-05 9:26
protectorHeath Stewart28-Sep-05 9:26 
GeneralRe: A Console window for Trace.WriteLine Pin
Account Removal28-Sep-05 10:17
Account Removal28-Sep-05 10:17 
AnswerRe: A Console window for Trace.WriteLine Pin
dbetting28-Sep-05 11:18
dbetting28-Sep-05 11:18 
GeneralRe: A Console window for Trace.WriteLine Pin
Account Removal30-Sep-05 7:44
Account Removal30-Sep-05 7:44 
QuestionIs there an easier way to find things in C# Pin
Dave Everett28-Sep-05 7:36
Dave Everett28-Sep-05 7:36 
AnswerRe: Is there an easier way to find things in C# Pin
Heath Stewart28-Sep-05 8:16
protectorHeath Stewart28-Sep-05 8:16 
GeneralRe: Is there an easier way to find things in C# Pin
Dave Everett28-Sep-05 9:44
Dave Everett28-Sep-05 9:44 
GeneralRe: Is there an easier way to find things in C# Pin
Heath Stewart28-Sep-05 9:58
protectorHeath Stewart28-Sep-05 9:58 
GeneralRe: Is there an easier way to find things in C# Pin
Dave Everett28-Sep-05 10:36
Dave Everett28-Sep-05 10:36 
GeneralRe: Is there an easier way to find things in C# Pin
Heath Stewart28-Sep-05 12:06
protectorHeath Stewart28-Sep-05 12:06 
AnswerRe: Is there an easier way to find things in C# Pin
Niklas Ulvinge28-Sep-05 8:53
Niklas Ulvinge28-Sep-05 8:53 

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.