AutoHotkey Community

It is currently May 27th, 2012, 12:36 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: December 17th, 2009, 12:30 pm 
I have this:
Gui, Add, ListView, x12 y32 w300 h200 , test4|test5|test6|test7

How can I change the header size for each column?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 17th, 2009, 2:33 pm 
Offline

Joined: April 15th, 2009, 12:05 am
Posts: 75
Location: Italy
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. :roll:

_________________
Intel Centrino @ 2.8GHz
4 GB RAM
WIN XP SP3


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: iDrug, Leef_me, Ohnitiel, rjgatito, XstatyK, Yahoo [Bot] and 20 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group