I'm working on adding button support to Skin.pm. My question is how to draw a button on the DC, without it being overwritten by whatever is drawn on the DC.
For a good example, try the sample Draw.pl included with Win32::GUI, and add a button to the window. The button will eventually be hidden by the patterns drawn. The only way that I've found around this is to Hide the button, draw on the DC, and then Show the button. This may work OK for a few buttons, but I think that it would be inefficient for lots of buttons (and the buttons seem to flicker) Anyone know of a better way? I'm going to experiment with regions (and clip regions) to see if that may work. Brian Millham This message traveled at least 44,000 miles to reach you! Creator of the DW6000 Monitor http://www.millham.net/dw6000 [EMAIL PROTECTED] --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0642-5, 10/20/2006 Tested on: 10/21/2006 5:27:14 PM avast! is copyright (c) 2000-2006 ALWIL Software. http://www.avast.com