Treeview overlay icon prob

December 20 2004 at 12:41 PM
No score for this post
greeny  (no login)
from IP address 80.140.111.135

 

Ok.. I just can't get icon overlays to work. Look at this code:



dialog test {
title Test
size -1 -1 200 200
option pixels
list 1, 0 0 200 200, size
}
on *:dialog:test:*:*:{
if ($devent == init) {
mdx SetControlMDX $dname 1 TreeView fullrowselect hasbuttons showsel nohscroll > script\dlls\views.mdx
mdx SetBorderStyle $dname 1 staticedge
did -i $dname 1 1 iconsize normal small
did -i $dname 1 1 seticon normal 0 D:\NoNameScript\Current\iconsets\jaffa\Email.ico
did -i $dname 1 1 seticon normal 0 D:\NoNameScript\Current\iconsets\jaffa\File info.ico
did -i $dname 1 1 seticon overlay 2 1
did -a $dname 1 + 1 1 1 0 0 Test
did -a $dname 1 + 1 1 0 0 0 Test
did -a $dname 1 + 1 0 0 0 0 Test
did -a $dname 1 + 0 0 0 0 0 Test
}
}



It should display "File info.ico" as an overlay over the first "Test" entry shouldn't it? Am I doing something wrong? I just don't get it.

Thanks for help.

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Responses

Create your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement