AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

listview change header size column

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
mike643
Guest





PostPosted: Thu Dec 17, 2009 11:30 am    Post subject: listview change header size column Reply with quote

I have this:
Gui, Add, ListView, x12 y32 w300 h200 , test4|test5|test6|test7

How can I change the header size for each column?
Back to top
UncleScrooge



Joined: 14 Apr 2009
Posts: 75
Location: Italy

PostPosted: Thu Dec 17, 2009 1:33 pm    Post subject: Reply with quote

Code:
LV_ModifyCol(1, 30)
that set the 1st column to 30 pixels width ... but please:

read this

though... as I feel samaritan today...
Code:
colWidth := 100      ;change it to any feasible value
Loop % LV_GetCount("Col")
   LV_ModifyCol(A_Index, colWidth)

this changes all the columns width of any default ListView to colWidth value. Rolling Eyes
_________________
Intel Centrino @ 2.8GHz
4 GB RAM
WIN XP SP3
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group