EventPut
Description
¸Þ½ÃÁö Å¥¿¡ »õ·Î¿î ¸Þ½ÃÁö¸¦ Ãß°¡ÇÑ´Ù.
Syntax
U8 EventPut( EventStruct * event )
Parameters
event À̺¥Æ® Å¥¿¡ Ãß°¡ÇÒ À̺¥Æ®
Returns
value
¼³¸í
TRUE
À̺¥Æ®¸¦ À̺¥Æ® Å¥¿¡ Ãß°¡
FALSE
À̺¥Æ® Å¥°¡ Â÷¼ À̺¥Æ®¸¦ Ãß°¡ÇÏÁö ¸øÇÔ
Comments
¸Þ½ÃÁö Å¥°¡ ²Ë Â÷¼ ´õ ÀÌ»ó ¸Þ½ÃÁö¸¦ Ãß°¡ÇÒ ¼ö ¾øÀ¸¸é FALSE¸¦ ¸®ÅÏÇÑ´Ù.
Example
¾î¶² ¹öÆ°À» ´·¶À» ¶§ ´ÙÀ̾ó·Î±× ¹Ú½º ´Ý±â À̺¥Æ®¸¦ ¹ß»ý½ÃÅ°´Â ¿¹Á¦ÀÌ´Ù. ½ÇÁ¦·Î´Â EventPutDBoxCloseEvent ÇÔ¼ö¸¦ ÀÌ¿ëÇϸé ÈξÀ °£ÆíÇÏ°Ô À̺¥Æ®¸¦ ¹ß»ý½Ãų ¼ö ÀÖÁö¸¸ ¿©±â¿¡¼´Â ¼³¸íÀ» À§ÇÏ¿© EventPutÀ» »ç¿ëÇÏ¿´´Ù.
Boolean SortFormHandleEvent( EventStruct * e )
{
EventStruct NewEvent;
U16 id;
switch( e->EventType )
{
case COMPONENTSELECTEVENT :
switch( id = e->ObjectID )
{
case Button_btnOK_1018 :
NewEvent.EventType = DBOXCLOSEEVENT;
NewEvent.ObjectID = 0;
EventPut( &NewEvent );
break;