// JP opened flex table

Click to See Complete Forum and Search --> : Fix: Correction to Zafir's article on CListView


Cyril ZEKSER
March 17th, 1998, 10:09 AM
The MFC tip of zafir Anjum on how to select an entire row works only,

as describe, with CListCtrl derived classes.


I found a astonishing sample in MSDEV Samples book which allow to use

only (!!) a CListView derived class (called CListViewEx) to do so,

without any CListCtrl-derived class (or just in order to have fun) need.


The principles are closed to those in the Zafir's article, but are generic

enough to allow you to derive your view for this class (all icons, images,

drag operations, selection are allowed without any modification of this

source code).


That's great only if you take care of a small thing : the size of the icon

displayed is force to (16,16), which can be manually edited or replace

by a variable easily. ;)

Cyril ZEKSER
April 7th, 1998, 04:17 AM
Sorry, but it seems that I forgot to tell you the name of the sample...


tadah,.... it's DLGCBR32 in VC++5.0


Cyril ;-( (feel sad about it).

Lovkesh
May 11th, 1998, 07:55 PM
Hi Cyril,


The example you have named DLGCBR32 doesn't have any CListView class.

I downloaded from microsoft website. It is using CListBox class only.

Am I looking at the wrong example?? Could you tell me from where to see this example.

Thanks

Lovkesh

Edward Hu
May 14th, 1998, 10:11 AM
The correct sample is ROWLIST which is found in infoviewer, under:


Developer Products/Visual C++/Visual C++ Samples/MFC Samples/General

MFC Samples/

//JP added flex table