Click here to Skip to main content
15,914,608 members
Home / Discussions / C#
   

C#

 
GeneralRe: Exposing Application Object Pin
LongRange.Shooter20-Aug-04 3:11
LongRange.Shooter20-Aug-04 3:11 
GeneralRe: Exposing Application Object Pin
Nick Parker20-Aug-04 6:54
protectorNick Parker20-Aug-04 6:54 
GeneralRe: Exposing Application Object Pin
kim3er23-Aug-04 1:34
kim3er23-Aug-04 1:34 
GeneralRe: Exposing Application Object Pin
Nick Parker23-Aug-04 4:01
protectorNick Parker23-Aug-04 4:01 
GeneralRe: Exposing Application Object Pin
mav.northwind24-Aug-04 1:27
mav.northwind24-Aug-04 1:27 
GeneralMouseWheel events without focus Pin
cnurse20-Aug-04 1:48
cnurse20-Aug-04 1:48 
GeneralRe: MouseWheel events without focus Pin
Dave Kreskowiak20-Aug-04 9:24
mveDave Kreskowiak20-Aug-04 9:24 
GeneralRe: MouseWheel events without focus Pin
Heath Stewart20-Aug-04 12:38
protectorHeath Stewart20-Aug-04 12:38 
Please note that what Dave said is only for the message pump for your application. You could also set Control.Capture to true to capture mouse events that you could handle either in WndProc or even the events that are exposed on the Control on which you set its Capture property to true.

You could also implement a system hook, but this is very dangerous and not something to be taken lightly - you're hooking every group of messages for the entire platform and your code has to be clean, efficient, and must be unloaded and gracefully fail should any problems occur. There are several articles here on CodeProject about that. Search for SetWindowsHook to find articles on this site.

 

Software Design Engineer
Developer Division Sustained Engineering, Microsoft
My Articles
GeneralRe: MouseWheel events without focus Pin
cnurse20-Aug-04 22:48
cnurse20-Aug-04 22:48 
GeneralRe: MouseWheel events without focus Pin
Heath Stewart23-Aug-04 7:12
protectorHeath Stewart23-Aug-04 7:12 
GeneralOpening a window in full screen mode Pin
Umair Ahmad khan20-Aug-04 1:15
Umair Ahmad khan20-Aug-04 1:15 
GeneralRe: Opening a window in full screen mode Pin
Gary Thom20-Aug-04 3:18
Gary Thom20-Aug-04 3:18 
GeneralRe: Opening a window in full screen mode Pin
Werdna20-Aug-04 13:12
Werdna20-Aug-04 13:12 
GeneralRe: Opening a window in full screen mode Pin
Nemanja Trifunovic20-Aug-04 3:32
Nemanja Trifunovic20-Aug-04 3:32 
Generalfilling the data table problem Pin
steve_rm20-Aug-04 0:46
steve_rm20-Aug-04 0:46 
GeneralRe: filling the data table problem Pin
kim3er20-Aug-04 2:44
kim3er20-Aug-04 2:44 
GeneralRe: filling the data table problem Pin
steve_rm20-Aug-04 3:26
steve_rm20-Aug-04 3:26 
GeneralIcon in Toolbox Pin
The Bug20-Aug-04 0:37
The Bug20-Aug-04 0:37 
GeneralRe: Icon in Toolbox Pin
Nick Parker20-Aug-04 8:02
protectorNick Parker20-Aug-04 8:02 
GeneralProblem verifying a signed XML document Pin
pelos20-Aug-04 0:06
pelos20-Aug-04 0:06 
GeneralGenerating Product Key... Pin
IrishSonic19-Aug-04 22:54
IrishSonic19-Aug-04 22:54 
GeneralRe: Generating Product Key... Pin
Aaron Eldreth20-Aug-04 3:31
Aaron Eldreth20-Aug-04 3:31 
GeneralRe: Generating Product Key... Pin
Brian Delahunty20-Aug-04 5:32
Brian Delahunty20-Aug-04 5:32 
GeneralRe: Generating Product Key... Pin
Anonymous21-Aug-04 15:31
Anonymous21-Aug-04 15:31 
QuestionHow to customize SaveFileDialog (?_?) Pin
sachinkalse19-Aug-04 22:09
sachinkalse19-Aug-04 22: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.