Click here to Skip to main content
16,010,234 members
Home / Discussions / C#
   

C#

 
QuestionHow to clear history of Web Browser control? Pin
ShajeeDotNet23-Dec-04 22:20
ShajeeDotNet23-Dec-04 22:20 
QuestionSqlConnection string? Pin
murali_utr23-Dec-04 21:39
murali_utr23-Dec-04 21:39 
AnswerRe: SqlConnection string? Pin
J4amieC23-Dec-04 21:57
J4amieC23-Dec-04 21:57 
GeneralRe: SqlConnection string? Pin
murali_utr24-Dec-04 2:07
murali_utr24-Dec-04 2:07 
GeneralRe: SqlConnection string? Pin
Rob Graham24-Dec-04 5:48
Rob Graham24-Dec-04 5:48 
Generalobject and layers design question Pin
ppp00123-Dec-04 21:29
ppp00123-Dec-04 21:29 
GeneralListening windows messages Pin
sbozcan23-Dec-04 21:12
sbozcan23-Dec-04 21:12 
GeneralRe: Listening windows messages Pin
Heath Stewart23-Dec-04 21:19
protectorHeath Stewart23-Dec-04 21:19 
You need to P/Invoke SetWindowsHookEx and register a hook to process/view messages before (and/or after) they are dispatched to their destination windows.

For more information about SetWindowsHookEx, read http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookfunctions/setwindowshookex.asp[^].

There's also a few articles[^] about writing Windows hooks in managed code here on CodeProject. Be forewarned, however, that you are hooking the system at a pretty low level. Make absolutely sure that you understand what you're doing and about marshaling native and managed Types, and that your code runs as efficiently as possible and can recover from errors. If you don't mind any of those things I mentioned you may bring down your entire system.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
QuestionASP.NET c# webservice - Singleton COM instance? Pin
gmcm23-Dec-04 20:46
gmcm23-Dec-04 20:46 
AnswerRe: ASP.NET c# webservice - Singleton COM instance? Pin
Heath Stewart23-Dec-04 21:13
protectorHeath Stewart23-Dec-04 21:13 
QuestionLocal IP number? Pin
danneau23-Dec-04 19:06
danneau23-Dec-04 19:06 
AnswerRe: Local IP number? Pin
Jay Shankar23-Dec-04 19:55
Jay Shankar23-Dec-04 19:55 
GeneralRe: Local IP number? Thanks! Pin
danneau23-Dec-04 20:43
danneau23-Dec-04 20:43 
GeneralRe: Local IP number? Thanks! Pin
Jay Shankar23-Dec-04 21:03
Jay Shankar23-Dec-04 21:03 
AnswerRe: Local IP number? Pin
leppie23-Dec-04 20:33
leppie23-Dec-04 20:33 
Generalsingleton Pin
lcarriere23-Dec-04 18:14
lcarriere23-Dec-04 18:14 
GeneralRe: singleton Pin
Heath Stewart23-Dec-04 20:20
protectorHeath Stewart23-Dec-04 20:20 
GeneralRe: singleton Pin
lcarriere24-Dec-04 4:06
lcarriere24-Dec-04 4:06 
GeneralRe: singleton Pin
Heath Stewart27-Dec-04 10:17
protectorHeath Stewart27-Dec-04 10:17 
GeneralRe: singleton Pin
lcarriere27-Dec-04 11:29
lcarriere27-Dec-04 11:29 
Generalsuspending layout, useragents, and creating shortcuts... Pin
dkarlton23-Dec-04 15:36
dkarlton23-Dec-04 15:36 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
Heath Stewart23-Dec-04 20:48
protectorHeath Stewart23-Dec-04 20:48 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
dkarlton27-Dec-04 14:32
dkarlton27-Dec-04 14:32 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
Heath Stewart27-Dec-04 19:19
protectorHeath Stewart27-Dec-04 19:19 
GeneralRe: suspending layout, useragents, and creating shortcuts... Pin
Heath Stewart28-Dec-04 5:09
protectorHeath Stewart28-Dec-04 5:09 

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.