REM > {!}Code:Init

DEF PROCInit

P% = B%
[OPT 2
EQUD &502: EQUD 0
]
SYS"Wimp_AddMessages", B%

SYS"Wimp_OpenTemplate",, Task_Res2$ + "Templates"
PROCWind_Load("IBox", 1)
PROCWimp_IBoxVers
SYS"Wimp_CloseTemplate"

File_Menu% = FNMess_Open(Task_Res2$ + "Menus", TRUE)
PROCMenu_Make(">WIBox<Info,Quit", "IBar")

Task_IBar% = FNWimp_IconBarSprite("!" + Task_Name$, 10, 1, -1, 75)

ENDPROC
