Silverfrost Forums

Welcome to our forums

Indents in %lv controls

17 Nov 2005 1:33 #446

Is there any way of indenting data in the first column of a %lv control ? The sort of thing you can do with the underlying windows list-view control by setting the iIdent parameter and LVIF_IDENT flag in the LVITEM struct ??

Thanks, Alan

17 Nov 2005 8:51 #449

Alan

There is no direct method to do this via ClearWin+ but you may be able to set the flags directly by using %lc to get the window handle and then sending an appropriate LVM_ message via SendMessage (but this is a long shot).

23 Nov 2005 4:17 #454

I cheated and stuffed a couple of spaces at the start of the sub-item strings to indent them. Looks fine unless you want indented icons too

Alan

Please login to reply.