I'm having some issues in trying to create a pretty simple (in my opinion) listview dialog box that has some headers in it along these lines:
Under these headers would obviously be placed the appropriate data.
However, I've had sweet F*** all luck in trying to do so.
This is the code I've used. If anyone knows why its not working, please point it out to me.
dialog clones {
title "Clones - $shortver"
size -1 -1 190 111
option dbu
box "Clones", 1, 5 5 180 100
list 2, 10 15 120 85, size
list 30, 10 15 120 85, size hide
button "OK", 3, 140 15 37 12, ok
}
alias clone { dialog -m cl clones }
on *:dialog:cl:init:*:{
mdx SetMircVersion $version
mdx MarkDialog cl $dialog(cl).hwnd
mdx SetControlMDX cl 2 ListView report single > $views
mdx SetControlMDX $dname 30 ListView report single > $cgen
did -i $dname 2 1 headerdims 20:1 20:2 80:3
did -i $dname 2 1 headertext +l 0 Nick +l 0 Ident +l 0 Host
}
$mdx, $views, $cgen all point to the appropriate locations.