View previous topic :: View next topic |
Author |
Message |
acw
Joined: 04 Nov 2005 Posts: 165 Location: Darkest Devon
|
Posted: Thu Nov 17, 2005 2:33 am Post subject: Indents in %lv controls |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu Nov 17, 2005 9:51 am Post subject: Indents in %lv controls |
|
|
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). |
|
Back to top |
|
|
acw
Joined: 04 Nov 2005 Posts: 165 Location: Darkest Devon
|
Posted: Wed Nov 23, 2005 5:17 am Post subject: Indents in %lv controls |
|
|
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 |
|
Back to top |
|
|
|