Strange behaviour on common controls, HELP !!!!!! 
Author Message
 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



Fri, 06 Oct 2000 03:00:00 GMT  
 Strange behaviour on common controls, HELP !!!!!!

Hi

Are you sure yu have The bug Free version of the ComCtl32.ocx ???
You got it on MSDN, SP3 or the MS WWW site

Good Luck

                                                Tal


Quote:
>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



Wed, 11 Oct 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Strange behaviour on common controls, HELP !!!!!!

2. Strange behaviour on common controls, HELP !!!!!!

3. DT Picker Control on Multi Page - Strange Behaviour

4. Strange control event behaviour

5. strange data control behaviour with DAO 3.6 and SQL server

6. Strange RichText Control Behaviour

7. Timer Control - strange behaviour

8. Strange behaviour with array of Winsock controls

9. Strange control event behaviour

10. HELP w/ strange behaviour of TYPEOF

11. Strange Popup behaviour - please help

12. strange shell behaviour...help wanted

 

 
Powered by phpBB® Forum Software