Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
04-22-2012 10:06 PM
I want to be able to click on things in the simulator and get the x/y coordinates, etc.
When I click things in the simulator, I get SCREEN_EVENT_POINTER events rather than SCREEN_EVENT_MTOUCH_TOUCH events.
I expect I can do:
screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_POSITION, ...);
But I can't seem to find any documentation that says what type of struct needs to be passed as the last argument.
This appears to be the most relevant documentation:
... but it doesn't make any indication.
04-24-2012 06:36 AM
Gave that a try, but no such luck. Thanks for the suggestion.
04-24-2012 10:55 AM
04-24-2012 10:56 AM
>When using SCREEN_PROPERTY_POSITION, it expects an array of 2 integers to be passed as the last argument.
int x; screen_get_event_property_pv( ev, pname, &x );