Quote: "The first option is the more important one to attend to, changing the function so that it returns -1 if the dialog is cancelled"
Would be good...I just have to hope nobody wants black at the moment!
Quote: "As for passing a colour to the dialog, I can certainly add that as an optional parameter"
Also a
very nice to have. You may have a nice shade of Blue, for example (and a very good example, eh, Rob!), but want to tweak it slightly.
BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply