It's probably because your font is black by defaut, add a drawrect -fn that fill your window with white and it should works but anyway, his "snippet" only draw a rectangle, make a engine in order to draw and *act* with your listbox isn't as easy as this
