Announcement

Collapse
No announcement yet.

Invisible text in my listbox

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

  • Invisible text in my listbox

    I have a simple app. which reads a txt file and populates a listbox with this
    data. It was working fine. I then altered the listbox using the dialog editor
    to allow multi-select, rebuilt the .pbr file and re-compiled my code. Now though
    i can see that my list box is still populating (cos i can select items in the list box)
    however the text is invisible! I know this is nothing to do with
    multi-select cos i have put it back to how it was and i still have the same problem!
    I didn't change my code at all during this whole process(!)



    Here is how it is now defined:

    LISTBOX LISTFILES, 11, 110, 227, 81, LBS_OWNERDRAWVARIABLE |
    LBS_HASSTRINGS | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP

    Any ideas to what could have happened would be greatly appreciated!

    Danny


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

  • #2
    LBS_OWNERDRAWVARIABLE , wrong style!
    Unless you are painting the lb yourself..

    ------------------
    hellobasic

    Comment

    Working...
    X