Pointer capturing in Symbian C++ on touch-enabled devices
m (Hamishwillee - Bot change of template (Template:CodeSnippet) - now using Template:ArticleMetaData)
m (Removed protection from "CS001145 - Pointer capturing in touch-enabled devices")
Revision as of 05:09, 14 June 2012
S60 5th Edition supports touch events. Pointer events are sent to the active UI application container control if the pointer/stylus is on the application.
The container control base class implementation CCoeControl::HandlePointerEvent() redirects events to its child controls. Remember to implement event handling into every custom UI control in your application.
If you want one UI control to receive all pointer events, use CCoeControl::SetPointerCapture().
The following libraries are required:
// This start eating all pointer events from other ui control in this application.
// Disables pointer capturing
One UI control receives all touch events.