Well, listbox.enableWindow(true) will [red]en[/red]able the window, not [red]dis[/red]able it. You need enableWindow(false) to disable it.
Please define "doesn't work." Do you mean you don't get the new callbacks to redraw the listbox items in a disabled state? If you have a visible scroll bar in the list box, is that disabled when the list box is disabled?