Click here to Skip to main content
15,922,325 members
Home / Discussions / C#
   

C#

 
Questionsocket programing Pin
ali_reza_zareian8-Sep-07 19:19
ali_reza_zareian8-Sep-07 19:19 
AnswerRe: socket programing Pin
Vasudevan Deepak Kumar8-Sep-07 23:56
Vasudevan Deepak Kumar8-Sep-07 23:56 
QuestionUse textfile as source for a combo boxes items? Pin
clashie8-Sep-07 16:15
clashie8-Sep-07 16:15 
AnswerRe: Use textfile as source for a combo boxes items? Pin
Christian Graus8-Sep-07 16:21
protectorChristian Graus8-Sep-07 16:21 
GeneralRe: Use textfile as source for a combo boxes items? Pin
clashie8-Sep-07 17:42
clashie8-Sep-07 17:42 
QuestionMarshalling Pin
aruna_koride8-Sep-07 13:46
aruna_koride8-Sep-07 13:46 
QuestionPropertyGrid Binding in WPF Pin
aruna_koride8-Sep-07 13:38
aruna_koride8-Sep-07 13:38 
QuestionUsing Low Level keyboard hook problem [modified] Pin
kamalesh828-Sep-07 12:03
kamalesh828-Sep-07 12:03 
Hi all,

Currently am working in a project, where in my application there is a window form, holding several pages(using WPF).now i've to implement session timeout functionality in my application using window hook for keyboard and mouse. i've a implemented a timer(System.Threading)TimerCallback, which periodically examine, whether, any key board message or mouse message occure ONLY ON MY APPLICATION. this means, minimizing my application form, i can play computer game, but after certain period my application can throw timeout session.

now the problem is, delegate(by which i'm calling window hook function whenever key or mouse pressed) is firing event even if my function is minimized. (i know this will fire), but the only requirement is how i manipulate these messages (key and mouse messages)only haapen to my application window. i don't know how to do this.. please help

please go through these urls, as i'm trying to develop window hook, by help of these.....

here he has used WH_KEYBOARD_LL Hook which is global

1. "http://blogs.msdn.com/toub/archive/2006/05/03/589423.aspx"
2. "http://blogs.msdn.com/toub/archive/2006/05/03/589468.aspx"

Please please help...... Sniff | :^)


-- modified at 18:14 Saturday 8th September, 2007

kamalesh

QuestionSingle instance forms in an MDI app Pin
martin_hughes8-Sep-07 9:20
martin_hughes8-Sep-07 9:20 
AnswerRe: Single instance forms in an MDI app [modified] Pin
Ed.Poore8-Sep-07 12:25
Ed.Poore8-Sep-07 12:25 
GeneralRe: Single instance forms in an MDI app [modified] Pin
martin_hughes8-Sep-07 13:38
martin_hughes8-Sep-07 13:38 
GeneralRe: Single instance forms in an MDI app Pin
Ed.Poore8-Sep-07 13:51
Ed.Poore8-Sep-07 13:51 
GeneralRe: Single instance forms in an MDI app Pin
martin_hughes8-Sep-07 14:18
martin_hughes8-Sep-07 14:18 
GeneralRe: Single instance forms in an MDI app Pin
Ed.Poore9-Sep-07 0:19
Ed.Poore9-Sep-07 0:19 
GeneralRe: Single instance forms in an MDI app Pin
martin_hughes9-Sep-07 7:36
martin_hughes9-Sep-07 7:36 
GeneralRe: Single instance forms in an MDI app Pin
Ed.Poore9-Sep-07 9:12
Ed.Poore9-Sep-07 9:12 
GeneralRe: Single instance forms in an MDI app Pin
Ed.Poore9-Sep-07 13:39
Ed.Poore9-Sep-07 13:39 
QuestionNeed an Algorithm like 'Word Wrap' in notepad. Pin
hdv2128-Sep-07 6:54
hdv2128-Sep-07 6:54 
AnswerRe: Need an Algorithm like 'Word Wrap' in notepad. Pin
Giorgi Dalakishvili8-Sep-07 7:26
mentorGiorgi Dalakishvili8-Sep-07 7:26 
QuestionConsuming Java Web Service using C# Pin
arctix8-Sep-07 4:48
arctix8-Sep-07 4:48 
AnswerRe: Consuming Java Web Service using C# Pin
Guffa8-Sep-07 4:58
Guffa8-Sep-07 4:58 
QuestionRe: Consuming Java Web Service using C# [modified] Pin
arctix9-Sep-07 2:57
arctix9-Sep-07 2:57 
QuestionGenerics Problem Question Pin
PaulPrice8-Sep-07 4:44
PaulPrice8-Sep-07 4:44 
AnswerRe: Generics Problem Question Pin
Giorgi Dalakishvili8-Sep-07 4:49
mentorGiorgi Dalakishvili8-Sep-07 4:49 
GeneralRe: Generics Problem Question Pin
PaulPrice8-Sep-07 4:58
PaulPrice8-Sep-07 4:58 

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.