Announcement

Collapse
No announcement yet.

WIN32API.INC problems

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

  • Aldo Cavini
    replied
    Borje,

    Thanks for the reply. The problem is one must remember not to compare something < 0...

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

    Leave a comment:


  • Borje Hagsten
    replied
    according to pb people, we should use &hffffffff??? instead of -1
    for compare, since dword is correct. typical ms logic, if you put
    -1 into dword it comes out as &hffffffff??? sigh..

    see discussion in http://www.powerbasic.com/support/pb...ead.php?t=3554


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

    Leave a comment:


  • Aldo Cavini
    started a topic WIN32API.INC problems

    WIN32API.INC problems

    May be it is a little mistake... Inside DRAWITEMSTRUCT the itemID member is declared as DWORD. On a WM_DRAWITEM message
    ...for an empty list box or combo box, this member can be -1...
    ------------------
Working...
X
😀
🥰
🤢
😎
😡
👍
👎