
Strange behaviour on common controls, HELP !!!!!!
Hello to all,
I need quickly help.
I have a project with ImageList, Listview etc.(VB 50)
This morning I loaded the project and I get some very strange errors:
1) I add pictures to a Imagelist within a For/Next Loop in the Form_Load
Event, now I get the error - OUT of memory ????
2) Listview with checkboxes:
For i = 1 To ListView1.ListItems.Count
r = SendMessageAny(ListView1.hwnd, LVM_GETITEMSTATE, i -
1,LVIS_STATEIMAGEMASK)
If r = &H2000& Then
With LV
.cchTextMax = MAX_PATH
.pszText = Space$(MAX_PATH)
End With
next i
The returnvalue is always 0, altough some items are checked.
All these things suddenly occur at ths morning.
What has happend?
It would be be very kind for a quick work around on this problems. :-)))
(sorry me bad english)
Much thanks :-)))
Peter