Re: Close Button

new topic     » goto parent     » topic index » view thread      » older message » newer message

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).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu