Hi,

I'm trying to get native coords in ApplicationEventHandler, but it is not 
working - it hangs...

<code>

WinHandle winh;
Int16 x,y;
Boolean pen;

switch(event->eType) {
        ...
        
case penMoveEvent;
 winh = WinGetDrawWindow();
 EvtGetPenNative(winh, &x, &y, &pen);
 ...
</code>

inside drawing method I have WinSetCoordinateSystem(kCoordinatesNative).

thx.

tom

-- 
===============================================================================
Tomas Meinlschmidt, SBN3, MCT, MCP, MCP+I, MCSE, NetApp Filer & NetCache
gPG fp: CB78 76D9 210F 256A ADF4 0B02 BECA D462 66AB 6F56 / $ID: 66AB6F56
GCS d-(?) s: a- C++ ULHISC*++++$ P+++>++++ L+++$>++++ E--- W+++$ N++(+) !o
    !K w(---) !O !M V PS+ PE Y+ PGP++ t+@ !5 X? R tv b+ !DI D+ G e>+++
    h---- r+++ z+++@
===============================================================================

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to