From: Frazier, J. J. <Joe...@Pe...> - 2001-09-27 12:14:18
|
Given: $menu =3D Win32::GUI::MakeMenu( "&File" =3D> "File", " > E&xit" =3D> "Exit", "&Search" =3D> "Search", " > &Client ID" =3D> "CID", ); then this: $menu->{CID}->Enabled(0); disables the Client ID menu command and=20 $menu->{CID}->Enabled(1); reenables it. -----Original Message----- From: Eva...@ao... [mailto:Eva...@ao...] Sent: Thursday, September 27, 2001 12:18 AM To: per...@li... Subject: [perl-win32-gui-users] (no subject) I've got 2 questions...=20 In a listview control, is there a way I can select *all* of the items in the control? Along those same lines, could i also select *none* of the items?=20 And one more thing...can i enable/disable specific items in a Win32::GUI::Menu object (and if so, how)?=20 -=20 ______________________________=20 "Very funny Scotty. Now beam up my clothes."=20 |