PROC projectList_newitem(cl:PTR TO iclass,obj:PTR TO object/*,msg:PTR TO msg*/)
DEF window, pfunc,vscroll,hscroll,pid,
name:PTR TO CHAR,node:PTR TO project_Node,inlist:PTR TO CHAR,
exec_list:PTR TO lh,data:PTR TO projectList_data,
pdata:PTR TO planeFunc_data
data:=INST_DATA(cl,obj);exec_list:=data.exec_list
NEW node
window:=WindowObject,
MUIA_Window_ScreenTitle, PICVERSION,
->MUIA_Window_UseRightBorderScroller,MUI_TRUE,
MUIA_Window_UseBottomBorderScroller,MUI_TRUE,
WindowContents,
HGroup,
MUIA_Group_Spacing,0,
Child, pfunc:=PlaneFuncObject,End,
Child, vscroll:=ScrollbarObject,
MUIA_FixWidth,20,
->MUIA_Prop_UseWinBorder,MUIV_Prop_UseWinBorder_Right, /*This is an MUI bug, the refreshing is not done correctely when having a scroller in the right border..*/