Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - how to use CXTListCtrl with variable-height item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to use CXTListCtrl with variable-height item

 Post Reply Post Reply
Author
Message
Jungle26 View Drop Down
Newbie
Newbie


Joined: 15 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jungle26 Quote  Post ReplyReply Direct Link To This Post Topic: how to use CXTListCtrl with variable-height item
    Posted: 12 December 2006 at 10:45pm
I need to create a list control that has variable-height rows(item). how to do it?thanks.
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 14 December 2006 at 2:32pm

Hi;

You have to create a owner drawn CXTListCtrl derived class and overwrite the OnDrawItem callbacks.

Martin

Back to Top
Jungle26 View Drop Down
Newbie
Newbie


Joined: 15 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jungle26 Quote  Post ReplyReply Direct Link To This Post Posted: 14 December 2006 at 11:27pm
hi, I  need to make each line a different height .how  CXTListCtrl  do it?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2006 at 12:44am

Hi,

CListCtrl/CXTListCtrl don't support it. Use CListBox.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Jungle26 View Drop Down
Newbie
Newbie


Joined: 15 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jungle26 Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2006 at 8:21pm
Hi,
thank you.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.