From: May, R. <RM...@nd...> - 2005-12-22 16:04:07
|
>> 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)? > > $but= ton->SetState(BST_INDETERMINATE); > > Only applies to checkboxes if I = remember correctly. Are you sure such a method exists? I could not fin= d it. Yes: http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc= =3Dcheckbox#setc heck Regards, Rob. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This = email message and any attachments thereto are intended only for use by th= e addressee(s) named above, and may contain legally privileged and/or con= fidential information. If the reader of this message is not the intended = recipient, or the employee or agent responsible to deliver it to the inte= nded recipient, you are hereby notified that any dissemination, distribut= ion or copying of this communication is strictly prohibited. If you have = received this communication in error, please immediately notify the postm= as...@nd... and destroy the original message |