Click here to Skip to main content
15,908,112 members
Home / Discussions / C#
   

C#

 
GeneralC# and Excel Pin
Member 51858613-Nov-03 4:18
Member 51858613-Nov-03 4:18 
Generalhelp needed to create custom control which can arrange controls in polygonal shape. Pin
Shailaja13-Nov-03 4:08
Shailaja13-Nov-03 4:08 
GeneralRe: help needed to create custom control which can arrange controls in polygonal shape. Pin
Heath Stewart13-Nov-03 6:31
protectorHeath Stewart13-Nov-03 6:31 
GeneralDistributed Transaction Pin
CillyMe12-Nov-03 22:15
CillyMe12-Nov-03 22:15 
QuestionRichTextBox Change Picture?? Pin
electronicm12-Nov-03 22:14
electronicm12-Nov-03 22:14 
AnswerRe: RichTextBox Change Picture?? Pin
Anonymous13-Nov-03 10:26
Anonymous13-Nov-03 10:26 
GeneralRe: RichTextBox Change Picture?? Pin
electronicm13-Nov-03 22:35
electronicm13-Nov-03 22:35 
GeneralMouse/Key Messages in Windows Service Pin
krisp12-Nov-03 19:37
krisp12-Nov-03 19:37 
I would like to be able to perform background work in my C# .net Windows Service if no mouse messages or key messages have be received for 10 minutes.

It involves downloading, uploading and processing, I would like to be able to tell if the computer has been idle from the user to a 10 minute period and then I would start these routines/processes.

I see how to do this with Forms with overriding the WinProc method, but I need Windows Messages for a Service, and I think the Forms WinProc method only gets events when the mouse is moved over top of it. I need Messages that occure anywhere within Windows/OS/Desktop.

Is there any Windows API methods to import or any idea how to do this?

Thanks in advance.
GeneralRe: Mouse/Key Messages in Windows Service Pin
J. Dunlap12-Nov-03 20:59
J. Dunlap12-Nov-03 20:59 
GeneralRe: Mouse/Key Messages in Windows Service Pin
jeff_martin13-Nov-03 3:51
jeff_martin13-Nov-03 3:51 
GeneralRe: Mouse/Key Messages in Windows Service Pin
krisp13-Nov-03 16:36
krisp13-Nov-03 16:36 
GeneralRe: Mouse/Key Messages in Windows Service Pin
Jonathan Slenders13-Nov-03 9:41
Jonathan Slenders13-Nov-03 9:41 
GeneralGet Derived class Pin
pnolan12-Nov-03 19:21
pnolan12-Nov-03 19:21 
GeneralRe: Get Derived class Pin
krisp12-Nov-03 19:46
krisp12-Nov-03 19:46 
GeneralRe: Get Derived class Pin
pnolan12-Nov-03 20:04
pnolan12-Nov-03 20:04 
GeneralRe: Get Derived class Pin
krisp12-Nov-03 20:29
krisp12-Nov-03 20:29 
GeneralRe: Get Derived class Pin
Colin Angus Mackay12-Nov-03 23:13
Colin Angus Mackay12-Nov-03 23:13 
GeneralCachedBitmap Pin
mhmoud rawas12-Nov-03 18:54
mhmoud rawas12-Nov-03 18:54 
GeneralRe: CachedBitmap Pin
Corinna John12-Nov-03 20:54
Corinna John12-Nov-03 20:54 
GeneralRe: CachedBitmap Pin
mhmoud rawas12-Nov-03 21:31
mhmoud rawas12-Nov-03 21:31 
GeneralRe: CachedBitmap Pin
J. Dunlap12-Nov-03 21:03
J. Dunlap12-Nov-03 21:03 
GeneralRe: CachedBitmap Pin
mhmoud rawas12-Nov-03 22:55
mhmoud rawas12-Nov-03 22:55 
GeneralRe: CachedBitmap Pin
J. Dunlap13-Nov-03 8:42
J. Dunlap13-Nov-03 8:42 
GeneralRe: CachedBitmap Pin
mhmoud rawas14-Nov-03 20:16
mhmoud rawas14-Nov-03 20:16 
Questionhow to control web components in winform by embeding a browser(ie) Pin
nakey_yang12-Nov-03 18:45
nakey_yang12-Nov-03 18:45 

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.