WideStudio/MWT Logo
WideStudio/MWT
Application Builder User's Guide
WideStudio/MWT Index
Table of contents


À̺¥Æ® ÇÁ·Î½ÃÀú¶õ

À̺¥Æ® ÇÁ·Î½ÃÀú´Â C++ ¾ð¾î·Î ±â¼úµÈ, °´Ã¼ÀÇ µ¿ÀÛÀ» Á¦¾îÇϱ⸦ À§ÇÑ ÇÁ·Î±×·¥ÀÔ´Ï´Ù. À̺¥Æ® ÇÁ·Î½ÃÀú¸¦ »ç¿ëÇÔÀ¸·Î½á °´Ã¼¸¸À¸·Î´Â ½ÇÇöÀÌ ¾î·Á¿î °íµµÇÑ ¿òÁ÷ÀÓÀ» º¸ÀÌ´Â È­¸é, °´Ã¼¿¡ ±â´É Ãß°¡, µ¥ÀÌÅÍ ÅõÀÔ µî, ´õ¿í º¹ÀâÇÑ µ¿ÀÛÀ» ½ÇÇöÇÒ ¼ö ÀÖ½À´Ï´Ù.

À̺¥Æ® ÇÁ·Î½ÃÀú´Â C++¾ð¾îÀÇ Áö½ÄÀÌ ÀÖÀ¸¸é ÀÚÀ¯ÀÚÀç·Î ÀÛ¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù. ÇÁ·Î±×·¥ÀÇ ³»¿ë¿¡ ´ëÇؼ­´Â ÇÁ·Î±×·¡¹ÖÆíÀ» ÂüÁ¶ÇØ ÁֽʽÿÀ.

À̺¥Æ® ÇÁ·Î½ÃÀú´Â ´ÙÀ½ÀÇ ¿ä¼Ò¸¦ °¡Áý´Ï´Ù.



£Û À̺¥Æ® ÇÁ·Î½ÃÀú £Ý



À̺¥Æ® ÇÁ·Î½ÃÀú ÇÔ¼ö

À̺¥Æ® ÇÁ·Î½ÃÀú ÇÔ¼ö´Â Àμö·Î¼­ ¿¬°áµÈ °´Ã¼¸¦ ¹Þ½À´Ï´Ù.

´ÙÀ½¿¡ ³ªÅ¸³»´Â °ÍÀº ¾ÖÇø®ÄÉÀÌ¼Ç ºô´õ°¡ »ý¼ºÇÑ À̺¥Æ® ÇÁ·Î½ÃÀú ÇÔ¼öÀÇ »ùÇÃÀÔ´Ï´Ù.

#include <WScom.h>
#include <WSCfunctionList.h>
#include <WSCbase.h>

//----------------------------------------------------------
//Function for the event procedure
//----------------------------------------------------------
void sample(WSCbase* object){
  object->setProperty(WSNlabelString,"Hello."); //A

}
static WSCfunctionRegister  op("sample",(void*)sample);

//A¿¡¼­ °´Ã¼ÀÇ Ç¥½Ã ¹®ÀÚ¿­ ¼Ó¼º, Á× WSNlabelSgtring ¸¦ Hello. ·Î ¼³Á¤ÇÕ´Ï´Ù.

Document Release 3.90 for WideStudio/MWT ver 3.90, Jul 2005


WideStudio/MWT documents index | Table of contents

Copyright(C) WideStudio/MWT Development Team, 1999-2005 Last modified: Jul 31, 2005