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 

Column width for %ls[multicolumn]

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    forums.silverfrost.com Forum Index -> KBase
View previous topic :: View next topic  
Author Message
silverfrost
Site Admin


Joined: 29 Nov 2006
Posts: 169
Location: Manchester

PostPosted: Sun Sep 05, 2004 6:36 pm    Post subject: Column width for %ls[multicolumn] Reply with quote

There is no facility in ClearWin for doing this, however, you can use the Windows API routine SendMessage in combination with %lc to set the column width. Here is an example:

Code:
i = winio@("%100.10ls[multicolumn]%lc%lw", items, 4, selected, ls_handle, window_control)
call SendMessage(ls_handle, LB_SETCOLUMNWIDTH, widthInPixels, 0);


The widthInPixels argument is an integer, and the last argument is not used.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    forums.silverfrost.com Forum Index -> KBase 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