Article View: borland.public.cppbuilder.nativeapi
Article #13518Re: Responding to mouse 'browser back' button.
From: Remy Lebeau (TeamB)
Date: Tue, 07 Oct 2003 17:20
Date: Tue, 07 Oct 2003 17:20
20 lines
1836 bytes
1836 bytes
"Andrue Cope" <no.spam@spammy.com> wrote in message news:3f82931e$1@newsgroups.borland.com... > All I've found so far with WinSight is that WM_USER+0xAC16 > is sent with a word param of 0x12 for 'button released' and 0x25 > for 'back', 0x27 for 'forward'. Looks like you just answered your own question. > Does anyone know the official way to respond to these buttons > and/or the browser back event? Sure - if the message is being sent then simply use a MESSAGE_MAP or override your form's WndProc() method, or if the message is being posted then assign a TApplication::OnMessage event handler. Either way, intercept (WM_USER+0xAC16) messages and then testing the wParam as needed. Gambit
Technical Details
Message-ID:
<3f82f592$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f82931e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d54ab0017dc05781 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-07 10:41:33 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f82931e$1@newsgroups.borland.com> Subject: Re: Responding to mouse 'browser back' button. Date: Tue, 7 Oct 2003 10:20:51 -0700 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.75 Message-ID: <3f82f592$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065547154 67.22.137.75 (7 Oct 2003 10:19:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail