BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-30-2012, 11:31 AM   #1
AleksDev
New Member
 
Join Date: May 2012
Model: Torch
PIN: N/A
Carrier: Developer
Posts: 1
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Voice Activated Listening Device Audio 150 Day Battery Spy Recorder 16 GB picture

Voice Activated Listening Device Audio 150 Day Battery Spy Recorder 16 GB

$109.00



AVNET ULTRAZED SOM ZYNQ ULTRASCALE+ XCZU3EG SYSTEM ON MODULE -  picture

AVNET ULTRAZED SOM ZYNQ ULTRASCALE+ XCZU3EG SYSTEM ON MODULE -

$98.67



Avnet UltraZed-EG AES-ZU3EG-1-SOM-I-G Zynq UltraScale+ MPSoC System-on-Module picture

Avnet UltraZed-EG AES-ZU3EG-1-SOM-I-G Zynq UltraScale+ MPSoC System-on-Module

$129.99



Flash Furniture DAD-154Z-GG 60 in. Round Bi-Fold Granite Plastic Folding Table picture

Flash Furniture DAD-154Z-GG 60 in. Round Bi-Fold Granite Plastic Folding Table

$106.20



LP Weather Logic Seam And Flashing Tape (boxes) picture

LP Weather Logic Seam And Flashing Tape (boxes)

$200.00



10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512 picture

10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512

$28.31







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