Microsoft.WindowsCE.Forms

Microsoft.WindowsCE.Forms

Post by cGF0 » Tue, 31 Aug 2004 17:21:08


Hello,

Is it possible with this namespace to build a construct, with which i get
noticed when a new window or a new tab pane on the Pocket Pc is opened?

thx

regards
pat
 
 
 

Microsoft.WindowsCE.Forms

Post by Chris Tack » Tue, 31 Aug 2004 21:11:31

No. Use an IMessageFilter to see when your Form lose focus.


-Chris

 
 
 

Microsoft.WindowsCE.Forms

Post by Chris Tack » Wed, 01 Sep 2004 00:33:55

Stylus taps generate mouse events. Trap the mouse event. Again, look at an
IMEssageFilter implementation.

-Chris
 
 
 

Microsoft.WindowsCE.Forms

Post by Chris Tack » Wed, 01 Sep 2004 02:39:39

www.opennetcf.org/sdf
http://www.yqcomputer.com/

-Chris
 
 
 

Microsoft.WindowsCE.Forms

Post by cGF0 » Wed, 01 Sep 2004 07:03:02


Yes, i already read something about it. But one more question, because i
think you misunderstood me:

Is it possible with the IMessageFilter of the OpenNETCF to get every mouse
event on the PocketPc (on the today's screen, in the Microsoft Pocket Word,
in the timer planner,..)? - not only of a specific developed application?? -
Because i think i can use the IMessageFilter only for my specific developed
applications. I hope i'll be wrong.

Regards

pat
 
 
 

Microsoft.WindowsCE.Forms

Post by Chris Tack » Wed, 01 Sep 2004 07:21:15

No. You need a system message hook, which are not supported in CE.

-Chris




Word,
application?? -
developed
 
 
 

Microsoft.WindowsCE.Forms

Post by cGF0 » Wed, 01 Sep 2004 17:19:16


So i cannot use the IMessageFilter..?! Are system message hooks supported by
the Smart Device Framework?
 
 
 

Microsoft.WindowsCE.Forms

Post by Chris Tack » Wed, 01 Sep 2004 20:02:10

You can use an IMessageFilter with the link I provided, but only for
app-level events. I just said in my last post that the OS doesn't support
system message hooks, and if the OS doesn't supporte it, then the CF can't.

-Chris




by
 
 
 

Microsoft.WindowsCE.Forms

Post by Chris Tack » Wed, 01 Sep 2004 20:03:33

Again, the OS doesn't support hooks. There's no way to get them with C#,
VB, C, C++, ASM, Cobol, Java, Fortran, LISP, ADA, LOGO, D or any other
language. The only option I can think of is to write a new OS.

-Chris