Thanks man. I tried this, but don't see any difference. The listview is the one that really matters.
I am starting a new project right now. Getting this to work is fundamental, and I am losing time and money as long as it doesn't work.
Any ideas? I found something somewhere saying that constant equals $0004.
I am starting a new project right now. Getting this to work is fundamental, and I am losing time and money as long as it doesn't work.
Any ideas? I found something somewhere saying that constant equals $0004.
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) SetGadgetLayout list,1,1,1,1 For n=1 To 100 AddGadgetItem list,"item "+n Next hwnd=QueryObject(list,1) SetWindowLong hwnd,$0004,1 Repeat Select WaitEvent() Case $803 End End Select Forever