>> When you read about button related messages in MSDN, BM_SETCHECK >> gives you an opportunity to set button's state to BST_INDETERMINATE, >> which is presented by a gray color. Is there a way to gray out a >> button in Win32::GUI (apart from using SendMessage directly)? > > $button->SetState(BST_INDETERMINATE); > > Only applies to checkboxes if I remember correctly.
Are you sure such a method exists? I could not find it. Yes: http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=checkbox#setc heck Regards, Rob. ========================================================= This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message