Drew Wutka
DWUTKA at marlow.com
Thu Feb 1 18:01:59 CST 2007
Bad news on my idea. You can get the 'desktop' window, but that is what is actively being displayed, not the background. Plus, there's another downside. I setup a test to 'paint' the desktop window to an access form. In VB, it worked great. In Access, it was a complete PITA, because access forms don't have child windows like other windows, the form window itself has a few child windows, but the controls on that form are not separate windows, they are literally painted onto one specific window. That is the background. So, in my test db, I created a form, 'found' that background window, and painted it with the desktop window, on a timer. Great effect (because if you move the form around it kaleidoscopes if when it gets in the corner (because it is painting itself, over and over). Bad news is, the controls disappear. Giving the controls focus makes them reappear, but the timer kills them again. Someone just posted about getting system information, that's probably a better option. Drew -----Original Message----- From: Darren DICK [mailto:darrend at nimble.com.au] Sent: Thursday, February 01, 2007 3:48 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003:Determining Background colour of the desktop Hi Team Does anyone know how to determine the background colour of the desktop? I have a form I want to set its background colour to match Many thanks Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com