How to get / make persistent ListBox hwnd property

B

bonafide

I'm using the sendMessage api call to return information about my OLE ListBox
object.

Using
Form.lbobject_name = setfocus
varHwnd = GetFocus

Syntax to get the listbox handle to pass to the api function. But returns a
0 and error checking code returns 0 (err.lastdllerror) as well??

Similarly, Get_ListBoxInfo returns 0 as well?

Is the handle not detected or is it just not possible to use OLE listboxes
with api calls?
 
Top