Article View: borland.public.cppbuilder.nativeapi
Article #10520TActionList not working
From: Mike King
Date: Wed, 14 Apr 2004 15:26
Date: Wed, 14 Apr 2004 15:26
11 lines
1551 bytes
1551 bytes
Parts of my application is not receiving Windows messages. I think the problem is that I have an ActiveX control (WebBrowser from IE) on my form with a TActionList. I have shortcuts assigned to some of the actions on the TActionList. I problem is the shortcuts aren't working because I think the Windows Messages are being sent to the ActiveX control and the TActionList doesn't have a chance the handle them. I have come to this conclusion because when a control other than ActiveX control has focus the shortcuts work. Do I have to use a Windows Message hook to intercept the messages, so that the TActionList can handle them? If so, how do I forward the messages to the TActionList or the TForm?
Technical Details
Message-ID:
<407d5824@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,755dbd9fc16112bc,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-14 08:40:38 PST From: "Mike King" <emailMK@excite.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: TActionList not working Date: Wed, 14 Apr 2004 11:26:27 -0400 Lines: 13 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: 64.45.143.248 Message-ID: <407d5824@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081956388 64.45.143.248 (14 Apr 2004 08:26:28 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail