Re: Close Button
- Posted by don cole <doncole at pacbell.net> Nov 29, 2004
- 504 views
Greg Haberek wrote: > > don, try this on for size: > > proecdure Main_Close( integer pSelf, integer pEvent, sequence pParams ) > atom ret > > ret = message_box( "Are you sure you want to close?", "Close", > MB_YESNO+MB_ICONQUESTION ) > > if ret = IDNO then > returnValue(-1) -- cancel closing > end if > > end procedure > setHandler( Main, w32HClose, routine_id("Main_Close") ) > Thank you and that's what I thought about IE Microsoft don't want you to install another browser. Don cole SF How 'bout them niners (local joke).