Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

now i have a problem about brew event handle .assume the following condition:

the appeventhandler is set to the applet handler. and in this event handler function,it call itextctl_handleevent(), and in handleevent() it call oem_keypress() function. and in oem_keypress() it creat a dialog,the dialog have a control,it is a user-defined control, based from icontrol,and it this control has its event handler function IUserControl_handleevent(),after create the dialog, oem_keypress() do"idialog_seteventhandle",associate IUsercontrolDlgEvent() with the dialog.

now,my question is
1. when first press a key ,how do these handle event be called one by one?
2.and then continue press key ,how do these handle event be called one by one?

when i debug this ,its turns are very chaos ,i am so confusion ,help me~ i want to knows the deeply event handle mechanism . who have thus article ,also can give me .my email:
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6d%79%6e%69%63%65%66%75%74%75%72%65%40%31%32%36%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%6d%79%6e%69%63%65%66%75%74%75%72%65%40%31%32%36%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))

thanks a lot

now i have a problem about brew event handle .assume the following condition:
the appeventhandler is set to the applet handler. and in this event handler function,it call itextctl_handleevent(), and in handleevent() it call oem_keypress() function. and in oem_keypress() it creat a dialog,the dialog have a control,it is a user-defined control, based from icontrol,and it this control has its event handler function IUserControl_handleevent(),after create the dialog, oem_keypress() do"idialog_seteventhandle",associate IUsercontrolDlgEvent() with the dialog.
now,my question is
1. when first press a key ,how do these handle event be called one by one?
2.and then continue press key ,how do these handle event be called one by one?
when i debug this ,its turns are very chaos ,i am so confusion ,help me~ i want to knows the deeply event handle mechanism . who have thus article ,also can give me .my email:
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6d%79%6e%69%63%65%66%75%74%75%72%65%40%31%32%36%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%6d%79%6e%69%63%65%66%75%74%75%72%65%40%31%32%36%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))
thanks a lot

now i have a problem about brew event handle .assume the following condition:
the appeventhandler is set to the applet handler. and in this event handler function,it call itextctl_handleevent(), and in handleevent() it call oem_keypress() function. and in oem_keypress() it creat a dialog,the dialog have a control,it is a user-defined control, based from icontrol,and it this control has its event handler function IUserControl_handleevent(),after create the dialog, oem_keypress() do"idialog_seteventhandle",associate IUsercontrolDlgEvent() with the dialog.
now,my question is
1. when first press a key ,how do these handle event be called one by one?
2.and then continue press key ,how do these handle event be called one by one?
when i debug this ,its turns are very chaos ,i am so confusion ,help me~ i want to knows the deeply event handle mechanism . who have thus article ,also can give me .my email:
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6d%79%6e%69%63%65%66%75%74%75%72%65%40%31%32%36%2e%63%6f%6d%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%6d%79%6e%69%63%65%66%75%74%75%72%65%40%31%32%36%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))
thanks a lot

brew key event is as follows: evt_keypress,evt_key,evt_keyrelease,key_hold,evt_char,evt_updatechar
when i press a key ,and then release it , how do these event be transfered one by one , what are the turns? and when will generate char, updatechar event?
thanks a lot

brew key event is as follows: evt_keypress,evt_key,evt_keyrelease,key_hold,evt_char,evt_updatechar
when i press a key ,and then release it , how do these event be transfered one by one , what are the turns? and when will generate char, updatechar event?
thanks a lot

brew key event is as follows: evt_keypress,evt_key,evt_keyrelease,key_hold,evt_char,evt_updatechar
when i press a key ,and then release it , how do these event be transfered one by one , what are the turns? and when will generate char, updatechar event?
thanks a lot

brew key event is as follows: evt_keypress,evt_key,evt_keyrelease,key_hold,evt_char,evt_updatechar
when i press a key ,and then release it , how do these event be transfered one by one , what are the turns? and when will generate char, updatechar event?
thanks a lot

Hello nicefuture,
One of the Best resources for learning Event Handles is Book by Ralph Barbagallo names "Wireless Game Development in C/C++ with BREW"

Hello nicefuture,
One of the Best resources for learning Event Handles is Book by Ralph Barbagallo names "Wireless Game Development in C/C++ with BREW"