<div>Hi, guys.</div>  <div>Could you people tell me why the program below does not work? Thanx in advance. I want to open a window with a tool bar; on the toolbar, there is an icon of "quit"; if I press the icon, I quit. The trouble is that I press the quit button, but nothing happens.</div>  <div>&nbsp;</div>  <div>module toolWin;<BR>import StdEnv, StdIO;</div>  <div>Start world<BR>&nbsp; # (ok, file, world)= fopen "quit.bmp" FReadData world<BR>&nbsp; # (ok, osbit, file)= osReadBitmap file<BR>&nbsp; # (ok, world)= fclose file world<BR>&nbsp; # bit= toBitmap osbit<BR>&nbsp; # attributes= [ ProcessToolbar [ToolbarItem bit (Just "quit") closeProcess]]<BR>&nbsp; = startIO&nbsp; MDI Void Win attributes&nbsp; world;</div>  <div>&nbsp;</div>  <div>Win pst1= pst2<BR>where {<BR>&nbsp; (ok, pst2)= openWindow 0 flushWin pst1; <BR>&nbsp; flushWin= Window "I want to quit" NilLS []}</div>  <div>&nbsp;</div>  <div>&nbsp;</div><p>
                <hr size=1>Make Yahoo! Canada your Homepage <a href="http://ca.yahoo.com/bin/set"><b>Yahoo! Canada Homepage</b></a>