🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2998

Re: DefaultDrawColumnCell

#2998
From: Maynard Philbrook
Date: Mon, 20 Jan 2003 18:59
27 lines
2175 bytes
You may need to indicate the address of the struncture..
 Call may not be using reference calling.
  so try the  &rect, etc



Hans Rikartsen wrote:

> Why do i get these errors when i call the DefaultDrawColumnCell function?
> (i'm using cpp builder 3.0 standard)
> I cannot see any errors i this:
>
> dbgIn->DefaultDrawColumnCell(Rect,DataCol,Column,State);
>
> ...but these messages are coming:
> [C++Error] Unit1.cpp(40): Cannot initialize 'const Windows::TRect &' with
> 'Windows::TRect *'.
> [C++Error] Unit1.cpp(40): Type mismatch in parameter 'Rect' in call to
> '_fastcall Dbgrids::TCustomDBGrid::DefaultDrawColumnCell(const
> Windows::TRect &,int,Dbgrids::TColumn *,System::Set<Grids::Grids__3,0,2>)'.
> [C++Error] Unit1.cpp(40): Cannot convert 'System::Set<Grids::Grids__3,0,2>
> *' to 'System::Set<Grids::Grids__3,0,2>'.
> [C++Error] Unit1.cpp(40): Type mismatch in parameter 'State' in call to
> '_fastcall Dbgrids::TCustomDBGrid::DefaultDrawColumnCell(const
> Windows::TRect &,int,Dbgrids::TColumn *,System::Set<Grids::Grids__3,0,2>)'.
>
> thanks in advance!
Technical Details
Message-ID: <3E2C472E.EE4541C8@mindspring.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
References: <F6IW9.17658$Rc7.251767@news2.e.nsc.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,b9652348460bab92
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-01-20 10:42:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Maynard Philbrook <jamie12@mindspring.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: DefaultDrawColumnCell
Date: Mon, 20 Jan 2003 13:59:58 -0500
Organization: PC BIT Software
Lines: 28
Message-ID: <3E2C472E.EE4541C8@mindspring.com>
References: <F6IW9.17658$Rc7.251767@news2.e.nsc.no>
Reply-To: jamie12@mindspring.com
NNTP-Posting-Host: 44.76.b2.0c
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 20 Jan 2003 18:42:00 GMT
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {TLC;RETAIL}  (Win98; U)
X-Accept-Language: en,ja