Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

no GX_EVENT_PEN_UP event on Parent Window when child window is activated

$
0
0

Hi,

I got a child window 200x200pix draw within a parent window 480x272.  there is a button in a child window, and I am try to detect a GX_EVENT_PEN_UP and GX_EVENT_PEN_DOWN outside the child window. On startup, the parent window have no problem receiving both GX_EVENT_PEN_UP and GX_EVENT_PEN_DOWN outside the child window boundary.  However, as soon as I active a button in the child window, the Parent window can only receive the GX_EVENT_PEN_DOWN and not GX_EVENT_PEN_UP.

The only way that I can get the parent window to receive a GX_EVENT_PEN_UP after if a button is added in the parent window, and that button is activated then parent window can received GX_EVENT_PEN_UP after an object on the child window is activated.

The problem is that once the child window is activated via a button is pressed within the child window, after that, even a pen down and up is activated outside the child window boundary, the child window can still receive a GX_EVENT_PEN_UP and not the parent window.

 

 

 


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>