Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to know if "ENTER" key is pressed Pin
Mandaar Kulkarni4-Dec-06 2:13
Mandaar Kulkarni4-Dec-06 2:13 
GeneralRe: how to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 2:23
quiteSmart4-Dec-06 2:23 
GeneralRe: how to know if "ENTER" key is pressed Pin
Mandaar Kulkarni4-Dec-06 2:35
Mandaar Kulkarni4-Dec-06 2:35 
GeneralRe: how to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 2:41
quiteSmart4-Dec-06 2:41 
GeneralRe: how to know if "ENTER" key is pressed Pin
quiteSmart4-Dec-06 2:50
quiteSmart4-Dec-06 2:50 
QuestionEvent when an application gets active Pin
Eka4-Dec-06 0:55
Eka4-Dec-06 0:55 
AnswerRe: Event when an application gets active Pin
Anthony Mushrow4-Dec-06 2:28
professionalAnthony Mushrow4-Dec-06 2:28 
AnswerRe: Event when an application gets active Pin
Nader Elshehabi4-Dec-06 3:14
Nader Elshehabi4-Dec-06 3:14 
Yes there is. In windows system there is something called WinEvents. Pretty much like C# events. These are system messages sent to whomever is interested in receiving them. You declare yourself interested in receiving a certain message by registering a hook to that message -aka WinEvent-.
Anyway. Here is the sum up:
Event to hook: EVENT_SYSTEM_FOREGROUND. Click here for more events[^].
Hook function: SetWinEventHook()
Click here for an example[^]

RegardsRose | [Rose]

QuestionDatagridview Issue [modified] Pin
Russell Jones4-Dec-06 0:09
Russell Jones4-Dec-06 0:09 
AnswerRe: Datagridview Issue Pin
Russell Jones4-Dec-06 0:36
Russell Jones4-Dec-06 0:36 
QuestionHelp - Understanding System.Windows.Forms Hide() Pin
Andrew Mercer3-Dec-06 23:37
Andrew Mercer3-Dec-06 23:37 
AnswerRe: Help - Understanding System.Windows.Forms Hide() Pin
Nader Elshehabi4-Dec-06 1:01
Nader Elshehabi4-Dec-06 1:01 
QuestionIShellExtInt & IContextMenu Pin
Ovelisax3-Dec-06 23:35
Ovelisax3-Dec-06 23:35 
QuestionGame of life Pin
mark pannini3-Dec-06 23:29
mark pannini3-Dec-06 23:29 
AnswerRe: Game of life Pin
Guffa3-Dec-06 23:46
Guffa3-Dec-06 23:46 
GeneralRe: Game of life Pin
mark pannini4-Dec-06 0:43
mark pannini4-Dec-06 0:43 
QuestionShare varible across the classes Pin
Maddie from Dartford3-Dec-06 22:15
Maddie from Dartford3-Dec-06 22:15 
AnswerRe: Share varible across the classes Pin
WillemM3-Dec-06 22:19
WillemM3-Dec-06 22:19 
AnswerRe: Share varible across the classes Pin
Christian Graus3-Dec-06 22:30
protectorChristian Graus3-Dec-06 22:30 
QuestionExtracting numbers from string? Pin
dadofg3-Dec-06 21:41
dadofg3-Dec-06 21:41 
AnswerRe: Extracting numbers from string? Pin
Stefan Troschuetz3-Dec-06 21:50
Stefan Troschuetz3-Dec-06 21:50 
GeneralRe: Extracting numbers from string? Pin
dadofg3-Dec-06 22:59
dadofg3-Dec-06 22:59 
QuestionCoding Tools Pin
Bulky Fellow3-Dec-06 21:22
Bulky Fellow3-Dec-06 21:22 
AnswerRe: Coding Tools Pin
Stefan Troschuetz3-Dec-06 22:02
Stefan Troschuetz3-Dec-06 22:02 
AnswerRe: Coding Tools Pin
Christian Graus3-Dec-06 22:03
protectorChristian Graus3-Dec-06 22:03 

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.