Announcement

Collapse
No announcement yet.

Commctr.inc correction - ListView

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Commctr.inc correction - ListView

    The TYPE:

    TYPE LVHITTESTINFO
    pt AS POINTAPI
    flags AS DWORD
    iItem AS LONG
    END TYPE

    should be:

    Type LVHITTESTINFO
    pt As POINTAPI
    flags As Dword
    iItem As Long
    iSubItem As Long
    End Type

    RValois


    ------------------
    http://www.rvalois.com.br/downloads/free/

  • #2
    This is not an error, I thought it was an update on MS's part. MSDN said something about it being newer.

    Do you know if all older OS's (win95a) support this? if so I'll update my inc.

    Thanks

    ------------------
    Paul Dwyer
    Network Engineer
    Aussie in Tokyo

    Comment


    • #3
      According to a comment in COMMCTRL.H, iSubItem is not in Win95. It's probably safe to use under Win95,
      it's just not likely to be functional.

      We'll update CommCtrl.inc -- thanks for bringing it to our attention.

      ------------------
      Tom Hanlin
      PowerBASIC Staff

      Comment


      • #4
        Paul,
        The element iSubItem belongs to the version 4.70 of commctrl.dll
        (Microsoft® Internet Explorer 3.x) as well as the message
        LVM_SUBITEMHITTEST included in PB commctrl.inc.
        The use of this message with the wrong structure can be
        disastrous.
        I think it is better to update ...
        RValois

        ------------------
        http://www.rvalois.com.br/downloads/free/

        Comment

        Working...
        X