PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Larry Burford on December 28, 2006, 01:00:38 PM

Title: Is there a bug in ListView_GetItemCount?
Post by: Larry Burford on December 28, 2006, 01:00:38 PM
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)
Title: Is there a bug in ListView_GetItemCount?
Post by: Larry Burford on December 28, 2006, 03:38:49 PM
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.