DBoxDo
Description
´ÙÀ̾ó·Î±× ¹Ú½º¸¦ ó¸®ÇÑ´Ù.
Syntax
void DBoxDo( U16 id )
Parameters
Id ´ÙÀ̾ó·Î±× ¹Ú½º ¾ÆÀ̵ð
Returns
¾øÀ½
Comments
»ç¿ëÀÚ°¡ DBOXCLOSE À̺¥Æ®¸¦ ¸í½ÃÀûÀ¸·Î ¹ß»ý½Ãų¶§±îÁö °è¼Ó ´ÙÀ̾ó·Î±× ¹Ú½ºÃ³¸®¸¦ ÇÏ´Ù°¡ ÀÌ À̺¥Æ®¸¦ ¹ÞÀ¸¸é ´ÙÀ̾ó·Î±× ¹Ú½º¸¦ ´Ý¾ÆÁØ´Ù. ¿©±â¼ ÀÎÀÚ·Î ³Ñ¾î¿Â id´Â ´ÙÀ̾ó·Î±× ¹Ú½º¸¦ ÁöÁ¤Çϱâ À§ÇÑ °ªÀε¥ °¡Àå ÃÖ±Ù¿¡ ºÒ¸° DBoxNew ÀÇ ÀÎÀÚ·Î ¾²ÀÎ id°ª°ú ¹Ýµå½Ã ÀÏÄ¡ÇÏ¿©¾ß ÇÑ´Ù.
Example
Boolean MemoMainHandleEvent( EventStruct * e )
{
Boolean handled = FALSE;
switch( e->EventType )
{
case MENUSELECTEVENT :
switch( e->ObjectID ) {
case MenuItem_Sort_1103 :
/* »ç¿ëÀÚ°¡ ¸Þ´º¿¡¼ Á¤·Ä±â´ÉÀ» ¼±ÅÃÇÏ¿´´Ù
µû¶ó¼ ȸ鿡 Á¤·Ä ´ÙÀ̾ó·Î±× ¹Ú½º¸¦ ¶ç¿ö¾ß ÇÑ´Ù */
DBoxNew( Form_dlgSort_1013 );
FormSetEventHandler( SortFormHandleEvent );
/* Á¤·Ä ´ÙÀ̾ó·Î±× ¹Ú½º¸¦ Ä¡ÀåÇϱâ À§ÇÑ ÄÝ ¹é ÇÔ¼ö Ãß°¡ÇÏ°í */
DBoxSetDrawCallback( (DBoxDrawCallbackFuncPtr)SortBoxDraw );
DBoxDo( Form_dlgSort_1013 );
/* ´ÙÀ̾ó·Î±× ¹Ú½º°¡ ´ÝÇûÀ¸¹Ç·Î ¸¶¹«¸®¸¦ ÇØÁØ´Ù */
FormFree();
handled = TRUE;
break;