S
Stelrad Doulton
Hi,
Using OpenNETCF's ApplicationEx and registering on system power events I
have written a small message filter class to consume the first
WM_LBUTTONDOWN after going into system idle. It seemed to work great but I
have released that if a form is being shown modally at the time of going
into system idle then I am not consuming the message and my filter does not
work. I believe that when a form is being shown modally it has it's own
message loop and this is causing the problem. My question is, how can I
apply my filter to all modal forms within the application?
Cheers
Using OpenNETCF's ApplicationEx and registering on system power events I
have written a small message filter class to consume the first
WM_LBUTTONDOWN after going into system idle. It seemed to work great but I
have released that if a form is being shown modally at the time of going
into system idle then I am not consuming the message and my filter does not
work. I believe that when a form is being shown modally it has it's own
message loop and this is causing the problem. My question is, how can I
apply my filter to all modal forms within the application?
Cheers