This may not be _exactly_ what you are looking for, but this does create
Dynamic menu Items upon startup of the application. I havent looked into
updating a Menu while the program is running however (if that is even
possible), so you are on your own there.
sub create_recent_list {
my $mr
RE: [perl-win32-gui-users] Dynamic popup menusEasy when you know how:) Thanks,
that's saved me hours of playing around.
So it looks like I'll have to completely recreate my whole menu tree rather
than just the sub menu.
Cheers and thanks again,
jez.
- Original Message -
From: Pete
Yes, that much I know!!!
my $Menu = new Win32::GUI::Menu(
"&Menu" => "Menu",
" > &Sub Menus" => "",
" >> Sub Item &1" => "submenu1",
" >> Sub Item &2" => "submenu2",
" >> Sub Item &3" => "submenu3",
" >> Sub Item &4" => "submenu4",
);
-Origin
RE: [perl-win32-gui-users] Dynamic popup menusHummIs it even possible to
create a sub menu at all?
- Original Message -
From: Jez White
To: Peter Eisengrein ; Win32-GUI
Sent: Friday, February 27, 2004 2:14 PM
Subject: Re: [perl-win32-gui-users] Dynamic popup menus
Hi,
RE: [perl-win32-gui-users] Dynamic popup menusHi,
Thanks for the reply - I probably didn't explain myself to well:) What I was
trying to do was something like below:
Show
-
Manual Entry > Manual Entry 1
Edit entries Manual Entry 1
Work Offline Manual Entry 1
Synchr
I've done something like this with a NotifyIcon (see below). I'm guessing
you could probably do the same with a regular menu.
sub ni_click
{
if ($Window->IsVisible)
{
if ($Window->IsIconic)
{
$menu = new Win32::GUI::Menu(
Thanks very much, that sorted it!
Darin
Darin Cruickshanks
Labs Manager, Computing Service
University of Essex
01206 873585
From: Jez White [mailto:[EMAIL PROTECTED]
Sent: 27 February 2004 11:43
To: Cruickshanks
TreeView problemHi,
Steve fixed a bug with the treeview about 10 days ago which may fix your
problem - can you build your own Win32::GUI?
See the following link for more details:
http://cvs.sourceforge.net/viewcvs.py/perl-win32-gui/Win32-GUI/TreeView.xs?only_with_tag=Win32-GUI-0_0_665-Fix
chee
All,
I have a Win32::GUI script that creates quite a large TreeView list. It
worked fine with a previous version of Perl and Win32::GUI but now
crashes if I try and stuff too much into the listing. The script is
quite happy creating the TreeView with about 2600 nodes and then crashes
when I cre
Hi,
I've searched through the list but am unable to find an answer to the following
question.
I'm trying to create a (static) pop up menu with a dynamic sub menu. As an
example, open internet explorer, then the tools menu. The first item in the
menu is "Mail and News >", I want to make the sub
10 matches
Mail list logo