S
See Sharp
Hello all,
I have a form class that implements the imessagefilter interface
public class frmMain : System.Windows.Forms.Form, IMessageFilter
I also have this implemented
bool IMessageFilter.PreFilterMessage( ref Message m )
This class actually interacts with the twain driver and that's why I need
the messagefilter, to get the twain messages. When I call this class as an
mdichild, I am not able to acquire images. I assume, this is because the
messages don't reach the child window. Is this right ? In that case, how can
we overcome this ? Should the parent also implement imessagefilter ? And
then how can the parent window pass the messages to the child window ?
Thanks
Seesharp
--
I have a form class that implements the imessagefilter interface
public class frmMain : System.Windows.Forms.Form, IMessageFilter
I also have this implemented
bool IMessageFilter.PreFilterMessage( ref Message m )
This class actually interacts with the twain driver and that's why I need
the messagefilter, to get the twain messages. When I call this class as an
mdichild, I am not able to acquire images. I assume, this is because the
messages don't reach the child window. Is this right ? In that case, how can
we overcome this ? Should the parent also implement imessagefilter ? And
then how can the parent window pass the messages to the child window ?
Thanks
Seesharp
--