Is there a bug in ListView_GetItemCount?

Started by Larry Burford, December 28, 2006, 01:00:38 PM

Previous topic - Next topic

Larry Burford

I get error 480 when I try to compile the following line

FF_ListView_GetItemCount HWND_FORM1_LISTVIEW1

(
I get the same error for the line
ListView_GetItemCount HWND_FORM1_LISTVIEW1
)

Other listview functions using that handle work fine.

===

(I'm building a DLL in version 2.75. One form, named Form1, one listbox, named List1, and one listview, named ListView1)

Larry Burford

OK, I found out what i was doing wrong. If you are going to use the return value from a function, you have to use the parentheses on the parameter list.