Article View: alt.msdos.programmer
Article #51Re: Need examples of TVISION
From: stern
Date: Mon, 03 Aug 1992 08:45
Date: Mon, 03 Aug 1992 08:45
21 lines
1018 bytes
1018 bytes
In article <1992Jul31.163028.5465@dcc.uchile.cl>, aluribe@cecux1 (Alvaro Uribe Izquierdo) writes:
>
> Hi:
> I have been trying to use the TListViewer class of Borland's C++ version
> 3.0 and I want to write the function TListViewer::getText( ... ) of this
> class, this's a function that it use for TListViewer::draw(). If someone
> could send me some source code which shows the usage.
Here is one:
Suppose I have a list in an array of string 'nameList[][]'
void MyListViewer::getText( char *dest, short item, short maxLen )
{
strncpy( dest, nameList[item], maxLen );
}
Nothing more than that.
-- Marc Stern <stern@mble.philips.be>
Technical Details
Message-ID:
<1992Aug3.084535.192@mble.philips.be>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!ub4b!mble.philips.be!sternReferences:
<1992Jul31.163028.5465@dcc.uchile.cl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ub4b!mble.philips.be!stern From: stern@mble.philips.be Newsgroups: alt.msdos.programmer Subject: Re: Need examples of TVISION Message-ID: <1992Aug3.084535.192@mble.philips.be> Date: 3 Aug 92 08:45:35 MEWT References: <1992Jul31.163028.5465@dcc.uchile.cl> Organization: MBLE , Brussels, Belgium Lines: 21