Can't display column if the width is over 32767 in CListCtrl
-
HI. When i use CListCtrl in MFC and set the width of column is larger than 32767, the area of exceed couldn't display. How can I get a OnDrawItem message in CListCtrl if the width of column is larger than 32767 unit. Could someone can resolve it ? :confused: thanks.
-
HI. When i use CListCtrl in MFC and set the width of column is larger than 32767, the area of exceed couldn't display. How can I get a OnDrawItem message in CListCtrl if the width of column is larger than 32767 unit. Could someone can resolve it ? :confused: thanks.
The list control is probobly storing the column width as an
int
, 32767 being the maximum value for anint
theres going to be no easy way around it. Might seem like a stupid question but why the hell whould you want a column that big for anyways...? :confused: Gavin Taylor w: http://www.gavintaylor.co.uk -- modified at 1:31 Tuesday 29th November, 2005 -
The list control is probobly storing the column width as an
int
, 32767 being the maximum value for anint
theres going to be no easy way around it. Might seem like a stupid question but why the hell whould you want a column that big for anyways...? :confused: Gavin Taylor w: http://www.gavintaylor.co.uk -- modified at 1:31 Tuesday 29th November, 2005Gavin Taylor wrote:
why the hell whould you want a column that big for anyways...?
LOL Gavin Taylor... I too do not understand, Why a column that big? Funny. Rajesh R. Subramanian, Akruti Software, Bombay, India. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
-
Gavin Taylor wrote:
why the hell whould you want a column that big for anyways...?
LOL Gavin Taylor... I too do not understand, Why a column that big? Funny. Rajesh R. Subramanian, Akruti Software, Bombay, India. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
I'd just like to have the monitor setup he's using to display it all :-D Gavin Taylor w: http://www.gavintaylor.co.uk
-
Gavin Taylor wrote:
why the hell whould you want a column that big for anyways...?
LOL Gavin Taylor... I too do not understand, Why a column that big? Funny. Rajesh R. Subramanian, Akruti Software, Bombay, India. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
Oh, Maybe i should say the it's a List that had many column, and the summary width of columns are over 32767, ex. 660 columns * 50 width/column. It' possible, right! I know the problem due to limit of the 16 bit, but have another way i can resolve???:doh:
-
Oh, Maybe i should say the it's a List that had many column, and the summary width of columns are over 32767, ex. 660 columns * 50 width/column. It' possible, right! I know the problem due to limit of the 16 bit, but have another way i can resolve???:doh:
660 columns :omg:. Write your own List Control? :) Seriously, thats a HELL OF A LOT of columns to be handling all at once, if your dealing with that much data in one go i'd be thinking of designing a better UI, maybe a collapsible grid so you only show relivent information in groups or something... Just a suggestion... Gavin Taylor w: http://www.gavintaylor.co.uk