Alaska Software Inc. - XbpListBox, measureItem with drawMode XBP_DRAW_OWNERADVANCED has max height of 255px per item?
Username: Password:
AuthorTopic: XbpListBox, measureItem with drawMode XBP_DRAW_OWNERADVANCED has max height of 255px per item?
Sebastiaan XbpListBox, measureItem with drawMode XBP_DRAW_OWNERADVANCED has max height of 255px per item?
on Thu, 06 Jun 2013 10:12:23 +0200
Hi everyone,

Is this a bug or limitation in windows?

I have some listboxes with ownerdrawing and dynamic item sizes.
The height however, seems to be limited to 255 pixels. If measureItem 
fills aDims[2] with a higher value, the default height is used. Which 
really makes a mess because aDims[2] still contains a higher value and 
my draw uses wrong dimensions..

Is this known or a bug? I saw PDR 6374, but my items are added right 
after create and anything up to 255px works, 256px fails...
I'm using the latest 1.90 version, have not tested in 2.0 yet...