Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
QuestionConvert number? Pin
dec8218-May-09 16:00
dec8218-May-09 16:00 
AnswerRe: Convert number? Pin
Joe Woodbury18-May-09 17:47
professionalJoe Woodbury18-May-09 17:47 
QuestionOmit selected tab and Dispose() Rtb Pin
Baeltazor18-May-09 12:21
Baeltazor18-May-09 12:21 
AnswerRe: Omit selected tab and Dispose() Rtb Pin
IceWater4218-May-09 12:47
IceWater4218-May-09 12:47 
GeneralRe: Omit selected tab and Dispose() Rtb Pin
Baeltazor18-May-09 12:49
Baeltazor18-May-09 12:49 
GeneralRe: Omit selected tab and Dispose() Rtb Pin
IceWater4218-May-09 19:51
IceWater4218-May-09 19:51 
GeneralRe: Omit selected tab and Dispose() Rtb Pin
Baeltazor18-May-09 20:07
Baeltazor18-May-09 20:07 
QuestionMouseStillDown? Pin
IceWater4218-May-09 12:11
IceWater4218-May-09 12:11 
In my background application, I want to "borrow" the cursor for a few microseconds and do some clicking and dragging (in an external application's textbox) in preparation for copying to the clipboard (that part works great), but it is uncool to steal the cursor from the user while he (for example) is in the process of moving or resizing a window as the result IS A MESS and generates some nasty language Big Grin | :-D .

So i need to know if the User is currently using the mouse for ANYTHING in ANY other application just before i begin the fun stuff.

I'd like some code that functionally looks like:
... while (MouseDown) Thread.Sleep(100);
regardless of what application is active.

Thanks very much for your time and help!
GeneralRe: MouseStillDown? Pin
Baeltazor18-May-09 12:24
Baeltazor18-May-09 12:24 
AnswerRe: MouseStillDown? Pin
PIEBALDconsult18-May-09 12:40
mvePIEBALDconsult18-May-09 12:40 
GeneralRe: MouseStillDown? Pin
IceWater4218-May-09 13:11
IceWater4218-May-09 13:11 
GeneralRe: MouseStillDown? Pin
Luc Pattyn18-May-09 13:21
sitebuilderLuc Pattyn18-May-09 13:21 
GeneralRe: MouseStillDown? Pin
IceWater4218-May-09 19:24
IceWater4218-May-09 19:24 
GeneralRe: MouseStillDown? Pin
PIEBALDconsult18-May-09 15:19
mvePIEBALDconsult18-May-09 15:19 
GeneralRe: MouseStillDown? Pin
IceWater4218-May-09 19:28
IceWater4218-May-09 19:28 
GeneralRe: MouseStillDown? Pin
Dave Kreskowiak18-May-09 15:40
mveDave Kreskowiak18-May-09 15:40 
GeneralRe: MouseStillDown? Pin
IceWater4218-May-09 19:42
IceWater4218-May-09 19:42 
GeneralRe: MouseStillDown? Pin
Dave Kreskowiak19-May-09 4:37
mveDave Kreskowiak19-May-09 4:37 
GeneralRe: MouseStillDown? Pin
IceWater4219-May-09 10:41
IceWater4219-May-09 10:41 
GeneralRe: MouseStillDown? Pin
Dave Kreskowiak19-May-09 17:18
mveDave Kreskowiak19-May-09 17:18 
Questionwindow service Pin
yogesh_softworld12318-May-09 10:55
yogesh_softworld12318-May-09 10:55 
AnswerRe: window service Pin
PIEBALDconsult18-May-09 11:25
mvePIEBALDconsult18-May-09 11:25 
GeneralRe: window service Pin
yogesh_softworld12318-May-09 11:28
yogesh_softworld12318-May-09 11:28 
GeneralRe: window service Pin
PIEBALDconsult18-May-09 11:40
mvePIEBALDconsult18-May-09 11:40 
GeneralRe: window service Pin
yogesh_softworld12318-May-09 11:43
yogesh_softworld12318-May-09 11:43 

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.