| |
(не показано 11 промежуточных версий 5 участников) |
Строка 1: | Строка 1: |
| UIX_HandleEvent — обработчик событий для диалогов [[UIX]] | | UIX_HandleEvent — обработчик событий для диалогов [[UIX]] |
| | | |
− | f3Cyz7 <a href="http://zkremzzmcpxw.com/">zkremzzmcpxw</a>, [url=http://easilzraesar.com/]easilzraesar[/url], [link=http://ocewhmrecohz.com/]ocewhmrecohz[/link], http://amazldxjbzwk.com/
| + | == Прототип == |
| + | <pre>UINT32 UIX_HandleEvent( EVENT_STACK_T * ev_st, APPLICATION_T * app );</pre> |
| + | '''ev_st''' - указатель на стэк событий. |
| | | |
− | ntnSEM <a href="http://uaetuggqlrew.com/">uaetuggqlrew</a>, [url=http://uvsvwuzvnacr.com/]uvsvwuzvnacr[/url], [link=http://nfbjnjsamffq.com/]nfbjnjsamffq[/link], http://mxpbjkttlgcm.com/
| + | '''app''' - указатель на приложение. |
| | | |
− | http://topsailnet.com/#39145 buy ambien online without prescription - buy ambien http://www.americanindependentwriters.net/#35827 buy ativan without prescription - buy ativan without prescriptionhttp://lifeofpis.com/#75709 does lamisil cause tingling - get lamisil http://www.corasyndicate.com/#59342 buy phentermine online no prescription - phenterminehttp://donteatthatyet.com/#70608 buy valium online no prescription - buy valium online without prescriptionhttp://www.inthesunnyspot.net/#22456 buy cialis online without a prescription - cialishttp://www.carolinarailfan.com#15033 phentermine weight loss reviews - results from using phentermine and bontrilhttp://www.buyonlinecialis.co.uk#25376 buy cialis in the uk - cialis generichttp://www.buyviagrageneric.co.uk#70789 buy viagra drugs - how to buy viagra ukhttp://pamelahelmephotography.com/#39765 when ovulate imitrex - imitrex 50mghttp://www.buyonlinecialis.co.uk#69839 buy cialis canada - buy cialis from ukhttp://www.buyviagrageneric.co.uk#33178 buy viagra canada - buy viagra online no prescriptionhttp://www.buy-tramadol-now.com/#26499 tramadol hydrochloride and alcohol - tramadol online by codhttp://www.orderphenterminenow.org/#82098 picture of phentermine hcl - buy phentermine online without prescriptionhttp://www.buyviagrabluepills.com#95147 online prescription soma viagra zoloft - buy cheap viagra online ukhttp://www.the-hangs.com#39100 buy levitra online cheap - buy levitra ukhttp://www.buy-tadalafil-online.org/#19601 is cialis or levitra better - comprar cialis online http://tzukune.info/#81859 nolvadex pct cycle - nolvadex no prescription neededhttp://tzukune.info/#69547 pharmacy cheap nolvadex bodybuiding - nolvadex tamoxifen citrate liquid http://www.buy-tadalafil-online.org/#15254 buy cialis 5mg - buy cialis online without a prescriptionhttp://www.buyviagrabluepills.com#82592 buy viagra online no prescription - buy viagra without prescriptionhttp://www.buy-tadalafil-online.org/#23657 buy cialis without prescription - buy cialis http://tzukune.info/#32193 nolvadex price - when to take nolvadex during a steroid cyclehttp://www.buy-tadalafil-online.org/#52756 cialis switzerland - recommended dose for cialis http://tzukune.info/#36687 when to take nolvadex during a steroid cycle - nolvadex clomidhttp://www.buyambienzolpidem.com#15784 buy online prescription Ambien - purchasing Ambien quick delivery no prescriptionhttp://www.buylevitraed.com#27966 buy levitra - buy levitra generichttp://www.buyvaliumdiazepam.org/#24957 buy valium from india - social anxiety disorder and diazepamhttp://www.buylexapronow.com/#11415 buy lexapro - buy lexaprohttp://www.buyambienzolpidem.com#20658 buy ambien no prescription - buy ambien without prescription
| + | Возвращает RESULT_OK в случае успеха. |
| + | |
| + | == Описание == |
| + | Эта функция проверяет принадлежность активного диалога системе UIX и передает [[Event|ивент]] обработкику сообщений конкретного диалога. |
| + | Должна вызываться в подмене основного обработчика событий приложения, до вызова стандартного обработчика. |
| + | |
| + | == Примеры == |
| + | <pre> |
| + | // "Свой" обработчик событий |
| + | void AppHandleEvent( EVENT_STACK_T * ev_st, |
| + | APPLICATION_T * app, |
| + | APP_ID_T app_id, |
| + | REG_ID_T reg_id ) |
| + | { |
| + | UIX_HandleEvent(ev_st, app); |
| + | |
| + | APP_HandleEvent(ev_st, app, app_id, reg_id); |
| + | } |
| + | |
| + | UINT32 AppStart( EVENT_STACK_T * ev_st, REG_ID_T reg_id, void * reg_hdl ) |
| + | { |
| + | THISAPP_T * papp; |
| + | UINT32 status; |
| + | |
| + | papp = (THISAPP_T *)APP_InitAppData( (void *)AppHandleEvent,// <-- |
| + | sizeof(THISAPP_T), |
| + | reg_id, |
| + | 0, |
| + | 0,// history size |
| + | 1,// priority |
| + | AFW_APP_CENTRICITY_SECONDARY, |
| + | AFW_FOCUS, |
| + | AFW_POSITION_TOP ); |
| + | // ... |
| + | </pre> |
| + | |
| + | |
| + | [[Категория:Функции_UIX]] |
UIX_HandleEvent — обработчик событий для диалогов UIX
ПрототипUINT32 UIX_HandleEvent( EVENT_STACK_T * ev_st, APPLICATION_T * app );
ev_st - указатель на стэк событий.
app - указатель на приложение.
Возвращает RESULT_OK в случае успеха.
ОписаниеЭта функция проверяет принадлежность активного диалога системе UIX и передает ивент обработкику сообщений конкретного диалога.
Должна вызываться в подмене основного обработчика событий приложения, до вызова стандартного обработчика.
Примеры// "Свой" обработчик событий
void AppHandleEvent( EVENT_STACK_T * ev_st, APPLICATION_T * app, APP_ID_T app_id, REG_ID_T reg_id )
{ UIX_HandleEvent(ev_st, app); APP_HandleEvent(ev_st, app, app_id, reg_id);
}
UINT32 AppStart( EVENT_STACK_T * ev_st, REG_ID_T reg_id, void * reg_hdl )
{ THISAPP_T * papp; UINT32 status; papp = (THISAPP_T *)APP_InitAppData( (void *)AppHandleEvent, // <-- sizeof(THISAPP_T), reg_id, 0, 0, // history size 1, // priority AFW_APP_CENTRICITY_SECONDARY, AFW_FOCUS, AFW_POSITION_TOP ); // ...