Piotr Kaluski wrote:
Hi, 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)?--Piotr
$button->SetState(BST_INDETERMINATE); Only applies to checkboxes if I remember correctly. Rob.