Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 24 FEB 2004 06:20:58PM Kevin Bolitho wrote:

I wish to derive the row height for ListBoxes however so far I have not succeeded. I have been using SendMessage as follows…

In Borland window.h file I see #define LB_GETITEMHEIGHT (WM_USER+34)

If WM_USER is 1024 then I assume that LB_GETITEMHEIGHT is 1058

My code is trial

hWnd=Get_Property(BubCtrl,"HANDLE")

RowHeight=SendMessage(hWnd,1058,1,0)

hWnd returns an integer that looks reasonable for an hWnd however RowHeight is always returned as 0

Has anyone else succeeded in getting the row height for a listbox?

Thanks in advance


At 24 FEB 2004 07:41PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

See answer on main forum…

The Sprezzatura Group

World leaders in all things RevSoft

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/075d353b1d05969c85256e4400804366.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1