Not sure about your first question, but to enable/disable a menu item use:
$filemenu->{'Open'}->Enabled(0); # disable
$filemenu->{'Open'}->Enabled(1); # enable
-Original Message-
From: Erik Shön [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 4:07 PM
To: perl-win32-gui-users@
Hello,
I've been trying to dynamically change the -foreground value for a
textfield.
The following didnt work:
$TextField->Change( -foreground => [ 255, 0, 0 ] );
$TextField->InvalidateRect(1);
Nor did assigning different font objects. And from the info I've gathered on
the
Just spent some time scratching my head about programatically selecting
items in listbox configured for multiple selections. Listbox->Select
function doesn't work here, as it sends LB_SETCURSEL =390 message. I've
found one must send LB_SETSEL = 389 message instead for multi listboxes.
Listbox-
3 matches
Mail list logo