Re: line size of the listview

new topic     » goto parent     » topic index » view thread      » older message » newer message
m_sabal said...
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 

this code works fine with a valid id ctrl.

But what is the id of a row of ListView?

The manuals win32lib say the id is the return of a addLvItem (), but this is not true.

How do I find the id of a row of the ListView, to use in your code above?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu