hmmm...GetWindowLong(hwnd,$0004) returns 0, no matter what I do.
w=640 h=480 Global window=CreateWindow(PROGRAMTITLE,(ClientWidth(Desktop())-w)/2,(ClientHeight(Desktop())-h)/2,w,h,0) list=CreateListBox(x,y,ClientWidth(window),ClientHeight(window)-y,window) hwnd=QueryObject(list,1) SetWindowLong(hwnd,4,1) RuntimeError GetWindowLong(hwnd,4)