Huwaei c5300 OK event | developer.brewmp.com Huwaei c5300 OK event | developer.brewmp.com

Developer

Huwaei c5300 OK event

Forums:

Any body worked on Huawei c 5300 If yes Can anyone tell me whts the event for ok button of the handset bcoz my AVK_Select code is working on soft key1 of the deivice.

Use AVK_FUNCTION instead.

Use AVK_FUNCTION instead.

Hi suppi,
For Huawei C5300, In dialog control we are trying to map the Ok key with AVK_SELECT.
So if(wParam == AVK_FUNCTION) we are making wParam as AVK_SELECT. This is working for all the Menu Controls except the dialog control. The problem in the dialog control is, the dialog handler handles all the events and if it won't handle then it will give it to the registered dialog handler. So here mapping is not possible. Default dialog handler handles AVK_FUNCTION key which wont do any action... :( so please help me in this regard...
Thanks in advance,
Sunil

Hi suppi,
For Huawei C5300, In dialog control we are trying to map the Ok key with AVK_SELECT.
So if(wParam == AVK_FUNCTION) we are making wParam as AVK_SELECT. This is working for all the Menu Controls except the dialog control. The problem in the dialog control is, the dialog handler handles all the events and if it won't handle then it will give it to the registered dialog handler. So here mapping is not possible. Default dialog handler handles AVK_FUNCTION key which wont do any action... :( so please help me in this regard...
Thanks in advance,
Sunil

What do you mean by the "Dialog Control"? Can you little more specific on what you need to achieve?
If you want to make AVK_FUNCTION's behaviour same as that of AVK_SELECT, then handle AVK_FUNCTION in the dialog handle event instead of modifying the wparam.
-empeegee

What do you mean by the "Dialog Control"? Can you little more specific on what you need to achieve?
If you want to make AVK_FUNCTION's behaviour same as that of AVK_SELECT, then handle AVK_FUNCTION in the dialog handle event instead of modifying the wparam.
-empeegee