Given:

$menu = Win32::GUI::MakeMenu(
    "&File"     => "File",
    " > E&xit"  => "Exit",
    "&Search"   => "Search",
    " > &Client ID"  => "CID",
);

then this:
$menu->{CID}->Enabled(0);

disables the Client ID menu command and 

$menu->{CID}->Enabled(1);

reenables it.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 27, 2001 12:18 AM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] (no subject)


I've got 2 questions... 

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? 

And one more thing...can i enable/disable specific items in a
Win32::GUI::Menu object (and if so, how)? 


- 
______________________________ 
"Very funny Scotty.  Now beam up my clothes." 

Reply via email to