¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤Ë Unicode ʸ»úÎó¤òɽ¼¨¤µ¤»¤ë¤Ë¤Ï¡¢¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤ËÂФ·¤Æ Unicode ʸ»úÎó¤È¤·¤ÆÀßÄꤷ¤Ê¤¤¤Èɽ¼¨¤µ¤ì¤Ê¤¤¤è¡£
#uselib "user32.dll"
#func SetWindowTextW "SetWindowTextW" int,var
//¥ê¥¿¡¼¥óµ¹æ
ReturnMark = ""
wpoke ReturnMark,0,0x23CE //¥ê¥¿¡¼¥óµ¹æ¤¬ U-23CE ¤Ê¤Î¤Ç 0x23CE ¤È¤·¤ÆÊÑ¿ô¤ËÂåÆþ
hspmsg = ""
pos 0,0 : mesbox hspmsg,200,200,1 : HSP_HMSGBOX = objinfo(stat,2)
SetWindowTextW HSP_HMSGBOX,ReturnMark //¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤ËÀßÄꤹ¤ë¤Ë Unicode ¤È¤·¤ÆÌ¿Î᤹¤ë
stop
SetWindowTextA = ANSI(SJIS)
SetWindowTextW = Unicode
WinAPI ¤Çʸ»úÎó¤ò°·¤¦¾ì¹ç¡¢¤³¤Î A ¤È W ¤ÎÆó¤Ä¤ÎÌ¿Î᤬¤¢¤ë¡£