Re: Win32Lib: Button Color
- Posted by George Walters <gwalters at sc.rr.com> Jul 12, 2004
- 572 views
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> So what was the verdict on this? I would like to be able to do just this.<br> <br> george<br> <br> Derek Parnell wrote: <blockquote cite="mid359622274-1463792382-1089589004 at boing.topica.com" type="cite"> cklester wrote: </pre> <blockquote type="cite"> <pre wrap="">Is there a way to set a button color and have it stay that way? I'm using setBackColor(myButt, Red ) and it draws it red until I click on another control, and it returns to its normal gray color. </pre> </blockquote> <pre wrap=""><!----> I didn't know that one could change the color of a standard PushButton control! Can you show me some example code that does that because I can't make it happen at all. As far I I know, ou need to have an Owner-Drawn type of button. </pre> </blockquote> </body> </html>