Announcement

Collapse
No announcement yet.

Commctr.inc correction - ListView

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

  • Roberto Valois
    replied
    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

    ------------------

    Leave a comment:


  • Tom Hanlin
    replied
    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

    Leave a comment:


  • Paul Dwyer
    replied
    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

    Leave a comment:


  • Roberto Valois
    started a topic Commctr.inc correction - ListView

    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


    ------------------
Working...
X