To use /dline on the listbox, you need to specify -l

/dline -l @window .....