At 06:32 AM 11/8/2004 -0800, Jared Sowers writeth:
>
>Ok then, so you "could" answer this question, but chose not to because
this is a c++ list.... So then how would you do something similar in c++???
I riley don't care if i use MFC or standard c++... all i want to do is
create a GUI interface in windows that has something similar to the
"listview".....


Using MFC:  Put a listview control on a dialog and then use...

CListView *pListView = (CListView *)GetDlgItem(IDC_CONTROL_NAME);

That gets you access to the control and a bunch of methods.  If you want to
override the default behavior of the control, just subclass it instead and
create a new class derived from CListView.

m_pListView.SubclassDlgItem(IDC_CONTROL_NAME, this);

In the private members of your class:

CMyListView m_pListView;

You haven't told us what you want to do with the control besides make one.


Thomas J. Hruska
[EMAIL PROTECTED]

Shining Light Productions
Home of the Nuclear Vision scripting language and ProtoNova web server.
http://www.slproweb.com/



To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=738832363


Yahoo! Groups Links

Reply via email to