🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6058

Re: How to implement inherited for CM_DIALOGKEY

#6058
From: Bob Gonder
Date: Mon, 13 Jun 2005 16:16
21 lines
1523 bytes
Blue Knight wrote:

>void __fastcall TMyForm::CMDialogKey(TMessage msg)
>{
>   if(ActiveControl == Control1 || ActiveControl == Control2)
>   {
>     if(msg.WParam == VK_TAB)
>     {
>       // Do special handling here
>       msg.Result = 1;
>       return;
>     }
>   }
>   // What do I need to do here?

Just a guess from the non-VCL way of doing things....
1) Nothing.
2) msg.Result = 0; //Not Handled, pass it on

>I have tried Perform(...) and TForm::Perform(...), but both result in a 
>stack overflow, for obvious reasons.
Technical Details
Message-ID: <55cra1hai10t5dd6obcruojr27760vtn73@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42ad62c4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,59059b6367de65a2
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to implement inherited for CM_DIALOGKEY
Date: Mon, 13 Jun 2005 09:16:44 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <55cra1hai10t5dd6obcruojr27760vtn73@4ax.com>
References: <42ad62c4$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.155.34
X-Trace: newsgroups.borland.com 1118679403 67.77.155.34 (13 Jun 2005 09:16:43 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail