RE: [perl-win32-gui-users] why not work?

2002-08-07 Thread Piske, Harald
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: [email protected]
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?



RE: [perl-win32-gui-users] why not work?

2002-08-07 Thread markd
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   
[email protected]
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: [email protected]
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?






RE: [perl-win32-gui-users] why not work?

2002-08-07 Thread markd
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.netcc:   

  
[email protected]
  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
[email protected]
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: [email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users






RE: [perl-win32-gui-users] why not work?

2002-08-07 Thread markd

after some more testing..if i take out the -parent => $Window from the
settings window then pressing alt+c (for &Close) will work. also the
shortcuts will work if anything (apart from the window) has focus. so when
the program starts if i put in $ListView->SetFocus() then when i press
alt+s the settings window will open, and then if i put
$Window->Settings->Setfocus() (the settings button) in Close_Click, when i
press alt+s the settings window will come up again.

mark
(i think thats it)