Re: line size of the listview

new topic     » goto parent     » topic index » view thread      » older message » newer message

This is untested, and it's been a while since I've played with the internals of Win32Lib, but this should at least get you started.

atom rectptr 
atom top,bottom,height 
rectptr = allocate(16) 
VOID = sendMessage(id,LVM_GETITEMRECT,rectptr,0) 
top = peek4u(rectptr+4) 
bottom = peek4u(rectptr+12) 
height = bottom-top 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu