Article View: borland.public.cppbuilder.nativeapi
Article #5055How to display disconnect dialog
From: Martin Nijhoff
Date: Fri, 04 Nov 2005 10:25
Date: Fri, 04 Nov 2005 10:25
10 lines
1335 bytes
1335 bytes
I use RasEnumConnections() to find the active dialup connection and then call RasHangUp() to disconnect. But this doesn't display the 'disconnect/stay connected' dialog, like you get when Internet Explorer is closed. Is there a way to have the 'disconnect/stay connected' dialog displayed, or do I have to make my own? I know there's InternetGoOnline() which asks the user to go on-line, maybe there's a similar API call that asks the user to go off-line?
Technical Details
Message-ID:
<436b3739@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!npeer.de.kpn-eurorings.net!newsfeed.cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,15770f5d8bd0825c,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Martin Nijhoff" <dont@mail.me> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to display disconnect dialog Date: Fri, 4 Nov 2005 11:25:40 +0100 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 80.100.129.158 Message-ID: <436b3739@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1131099961 80.100.129.158 (4 Nov 2005 02:26:01 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!npeer.de.kpn-eurorings.net!newsfeed.cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail