Article View: borland.public.cppbuilder.nativeapi
Article #734Supports function
From: Carlos
Date: Mon, 21 Jan 2008 19:44
Date: Mon, 21 Jan 2008 19:44
16 lines
1312 bytes
1312 bytes
Hello,
I am trying to use Supports function of SysUtils. But I donοΏ½t know how
TWinControl * pAC = Screen->ActiveControl;
if ( pAC )
{
TcxCustomEdit * pCE = NULL;
if ( Supports(pAC, _di_IcxInnerEditHelper) || Supports(pAC,
_di_IcxContainerInnerControl) )
pCE = (TcxCustomEdit *)pAC->Owner;
Which is the correction ?
Thank you
Technical Details
Message-ID:
<4794f632$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,daf5f44246da1da,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII From: "Carlos" <a@a.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Supports function Date: Mon, 21 Jan 2008 20:44:33 +0100 Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 NNTP-Posting-Host: 80.38.17.40 Message-ID: <4794f632$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1200944690 80.38.17.40 (21 Jan 2008 11:44:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail