May, Robert wrote:

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/


OK. So it is SetCheck and not SetState :)
Now I see it. Thanks!

--
Piotr Kaluski

"It is the commitment of the individuals to excellence,
their mastery of the tools of their crafts, and their
ability to work together that makes the product, not rules."
("Testing Computer Software" by Cem Kaner, Jack Falk, Hung Quoc Nguyen)



Reply via email to