Path: chuka.playstation.co.uk!news From: rs108@mdx.ac.uk (Robert Swan) Newsgroups: scee.yaroze.mydemos Subject: gradient filled boxes Date: Fri, 01 May 1998 22:48:27 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 30 Message-ID: <354a5046.711296@www.netyaroze-europe.com> NNTP-Posting-Host: stu-dialup14.mdx.ac.uk X-Newsreader: Forte Free Agent 1.11/32.235 After reading James Rutherford doing his gradient filled boxes it reminded me I intended to do some. Ive got a program (box.zip) that you can get off my web site with a general purpose function to draw them. http://www.netyaroze-europe.com/~middex2 Its not the fastest, but it gets there. the parameters to the function are - DrawGradientBox( left, top, right, bottom, semi-transparency, priority, top left red, top left green, top left blue, top right red, top right green, top right blue, bottom left red, bottom left green, bottom left blue, bottom right red, bottom right green, bottom right blue}; if you dont want it to be semitransparent, use a value not between 0-3, as these values give the four different styles of semi transparency. The code would need minor modification to include into your own code, but all thats missing from myt subroutine is trhe address of the ordering table header. Have fun, Robert Swan