forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indents in %lv controls

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
acw



Joined: 04 Nov 2005
Posts: 163
Location: Darkest Devon

PostPosted: Thu Nov 17, 2005 2:33 am    Post subject: Indents in %lv controls Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5906
Location: Salford, UK

PostPosted: Thu Nov 17, 2005 9:51 am    Post subject: Indents in %lv controls Reply with quote

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
View user's profile Send private message
acw



Joined: 04 Nov 2005
Posts: 163
Location: Darkest Devon

PostPosted: Wed Nov 23, 2005 5:17 am    Post subject: Indents in %lv controls Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group