PopUp Menu | developer.brewmp.com PopUp Menu | developer.brewmp.com

Developer

PopUp Menu

Forums:

Dear All ,

I am trying to develop some GUI's using BREW,Please can any one provide Information regarding the following,

Q1:

How to get a popup window?
what are the API's Required?
In Which directory These API's are available?

Q2:

I have created a button ,if I press on mouse It has to be activated.What is the API
Available to do this?

Is there any other way to design a button?

Q3:

I have created a calender,but I don't know how to change the calender view month by month or year by year.I can change the dates day by day with the help of date control.
What is the better way achieve above requirement?

Regards,
Sri Anu.

Hi Sri
I can only help you in the first query of urs.
For the Pop Up Menu - as such there is no direct API to create one.
My requirement was like when the user presses the SOFT1 key, then I had to activate the menu.
So I created a menu with a rectangular coordinates just like a Pop Up and displayed the menu control near to the Soft key. When the user presses again, I removed the menu control
Hope this helps ur Pop Up problem.
Akshay

Hi Sri
I can only help you in the first query of urs.
For the Pop Up Menu - as such there is no direct API to create one.
My requirement was like when the user presses the SOFT1 key, then I had to activate the menu.
So I created a menu with a rectangular coordinates just like a Pop Up and displayed the menu control near to the Soft key. When the user presses again, I removed the menu control
Hope this helps ur Pop Up problem.
Akshay

For second question, i guess you only created the button graphically, it is not any control which can take any event.
I think you are designing button for touch devices, right? When touching the screen EVT_POINTER_* events generated, you can get the X,Y cordinates of toouched point using the helper function AEE_POINTER_GET_XY() and process the action accordingly.

For second question, i guess you only created the button graphically, it is not any control which can take any event.
I think you are designing button for touch devices, right? When touching the screen EVT_POINTER_* events generated, you can get the X,Y cordinates of toouched point using the helper function AEE_POINTER_GET_XY() and process the action accordingly.