Variable field height?

Is there any way to change the height of a user drawn field in a table? It’s a single-column table, so there are no other fields on the same line that would be affected.

Altering scLlObject._rcPaint in the LL_CMND_DRAW_USEROBJ callback doesn’t seem to do anything, nor does altering scLlTableField._rcPaint in the LL_CMND_TABLEFIELD callback.

Thanks!

Hi Erik,

thank you for your post.

You can use the following commands to change the height:

LL_CMND_GETSIZE_USEROBJ // in current units (variable)
LL_CMND_GETSIZE_USEROBJ_SCM // in SCM
LL_CMND_GETSIZE_USEROBJ_PIXEL // in pixel, if possible(for original size)

Best regards,

Christian Rauchfuß
Technical Support
combit GmbH

Hi Christian, thanks for the reply.

Do you know what the lParam should be interpreted as for those callbacks?

For LL_CMND_GETSIZE_USEROBJ it appears to be scLlTableField. However for LL_CMND_GETSIZE_USEROBJ_SCM and LL_CMND_GETSIZE_USEROBJ_PIXEL it is something else totally.

Also, do you know what field(s) I should alter in the above. Changing the scLlTableField._rcPaint field in the LL_CMND_GETSIZE_USEROBJ callback still does not seem to have any effect.

Thank you!

Hi Erik,

thank you for your post.

lParam is a pointer to scLlDrawUserObj and scLlDrawUserObj._rcPaint is the rectangle, which has to be filled.

Best regards,

Christian Rauchfuß
Technical Support
combit GmbH