the same goes for buttons too. if i have a button with -text => "
&Settings", then so long as the listview has focus, when i press alt+s the
settings window will pop up. it doesn't work with child windows though. if
i have an &Close button in the settings window then no matter what has
focus, it won't close the window. but alt+f4 will close the settings window
only (while the settings window is open and has focus).

mark


                                                                                
                                    
                    [EMAIL PROTECTED]                                           
                                     
                    Sent by:                                      To:     
"Piske, Harald"                           
                    [EMAIL PROTECTED]        <[EMAIL PROTECTED]>                
    
                    eforge.net                                    cc:           
                                    
                                                                  
perl-win32-gui-users@lists.sourceforge.net        
                                                                  Subject:     
RE: [perl-win32-gui-users] why not   
                    08/08/02 08:31 AM                             work?         
                                    
                                                                                
                                    
                                                                                
                                    




its not an accel table its just a gui::makemenu and theres no reference to
the listview in it anywhere. i just thought i'd add this considering we
were talking about accelerator tables not working.

mark




                    "Piske, Harald"
                    <[EMAIL PROTECTED]        To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
                    lobal.com>                  ROB <[EMAIL PROTECTED]>
                                                cc:
                    08/08/02 02:41 AM
perl-win32-gui-users@lists.sourceforge.net
                                                Subject:     RE:
[perl-win32-gui-users] why not
                                                work?




I never worked with accelerators, so this may be stupid, but did you
connect
the accel table to the listview? If so, can you try to hang it on the main
window instead?



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 06, 2002 20:19
To: ROB
Cc: perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] why not work?



i have a program which is based around a listview that i put a menu in for,
but the menu shortcut keys (alt+f for file etc) would only work if the
listview had focus. wierd?





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users




Reply via email to