ComponentEventHandler
Description
ÇØ´ç ÄÄÆ÷³ÍÆ®ÀÇ ±âº» À̺¥Æ® Çڵ鷯 ( ButtonEventHandler µî ) À» ºÒ·¯ÁØ´Ù.
Syntax
void ComponentEventHandler( EventStruct * e, ComponentStruct * c )
Parameters
Returns
¾øÀ½
Comments
Example
Å°º¸µå À̺¥Æ®°¡ ¹ß»ýÇÑ °æ¿ì ÇÊµå ¿¡µðÆ®°¡ Ä¿¼¸¦ °®°í ÀÖ´Ù¸é ÀÏ´Ü ÇÊµå ¿¡µðÆ®ÀÇ ±âº» Çڵ鷯·Î 󸮸¦ ÇÏ°í ³ µÚ º°µµÀÇ ÀÏÀ» ÇÏ°íÀÚÇÒ ¶§ »ç¿ëÇÏ´Â ¿¹Á¦ÀÌ´Ù.
Boolean MainFormHandleEvent( EventStruct * e )
{
ComponentStruct * Component;
switch( e->EventType )
{
...
case KEYBOARDEVENT :
Component = FormGetComponentPtr(Edit_feSearch_1001);
if (Component->Focused)
{
ComponentEventHandler( e, Component );
}
/* do other things at here */
break;
...