BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-30-2012, 11:31 AM   #1 (permalink)
New Member
 
Join Date: May 2012
Model: Torch
PIN: N/A
Carrier: Developer
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question BB10: Cascades and ForeignWindow

Please Login to Remove!

Hello all,

I am using the Cascades UI and I need to use ForeignWindow in order to develop a control which will show an image will be able to zoom and pan in it.

My question is: how and where am I supposed to handle touch events (in order to pan or zoom) for the window I am going to use as ForeignWindow.
Regarding that unlike the native SDK which uses an event loop, Cascades applications use App as a main class, where am I supposed to handle the screen_event_t and/or gesture events I would normally handle if I were developing in Native for a window?

This may be a beginner's question, but the connection between Native and Cascades is very poorly described (in my opinion at least) on the Cascades documentation page.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Dated DEC 1910: LARGE Vintage Brass Pressure Gauge By ASHCROFT, Steampunk Part
$37.99
Dated DEC 1910: LARGE  Vintage Brass Pressure Gauge By ASHCROFT, Steampunk Part pictureDated DEC 1910: LARGE Vintage Brass Pressure Gauge By ASHCROFT, Steampunk Part
$49.99
Dated DEC 1910: LARGE  Vintage Brass Pressure Gauge By ASHCROFT, Steampunk Part pictureDEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101
$60.0
DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101  pictureHSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$149.99
HSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureVintage Digital DEC M3106 Line SYNC MUX Board
$29.99
Vintage Digital DEC M3106 Line SYNC MUX Board picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.