Re: re ListCtrl

Bryan Bulten <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
> lstItem = new ListItem();
> lstItem.Id = 0;
> lstItem.Text = "Fred";
> lstctrl.InsertItem(lstItem);

You almost have it - just need to set the ListItem.Mask flag.

> Are there any examples for the ListCtrl or could anyone point me in
> the right direction as to how to use this correctly

Unfortunately not yet - the samples are a little behind.  Hopefully the
attached (brief) sample helps. 


Cheers.

-- 
Bryan Bulten
http://www.bulten.ca/
http://wxnet.sourceforge.net/
ListCtrl.cs (application/octet-stream, 1.8 KB) - not displayed
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/MdaA32WFWIzmzHgRAuCBAJ46UWtzC22zpqZ/t9LdlP9bPmZa6ACfdZoA
a/rLFryV1lX+OsK1fGQLE94=
=zQcT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.