Hi there,
I´m testing the new compiler and found an unconvinient thing: My ListControl won´t fill any more, it does when I switch the compiler back to 12.1 (and do a rebuild of course).
Here is the code (dlg and IDC_LISTBOX are declared globally):
logical(kind=4) l integer(kind=4) listHwnd, i type (T_LV_ITEM) LVItem character*10 tempString listHwnd=getDlgItem(dlg%hwnd,IDC_LISTBOX) LVItem%mask=LVIF_TEXT LVItem%state=0 LVItem%statemask=0 LVItem%cchTextMax=0 l=sendMessage(listHwnd,LVM_DELETEALLITEMS,0,0) LVItem%iSubItem=0 write(tempstring,'(2A)') 'Ca',char(0) LVItem%pszText=LOC(tempstring) LVItem%iItem=sendMessage(listHwnd,LVM_INSERTITEM,0,LOC(LVItem))
IVF14 sets LVItem%iItem to -1. It is 0 with IVF12.1. GetLastError or GetLastErrorQQ both return 0.
Any ideas?
Thanks in advance,
Markus