[perl-win32-gui-users] Re: [win32gui] RE: Accelerators

2006-01-10 Thread Robert May
Glenn W Munroe wrote: The problem I was having with the KeyUp/KeyDown events was, as you indicated, caused by the -dialogui option. Neither the 'KeyDown' nor the 'Char' event gets fired when -dialogui is used, That depends on the control and what it returns from the WM_GETDLGCODE message sent

[perl-win32-gui-users] RE: TreeView Node structure

2006-01-10 Thread Eric Hansen
This may help. GetChild(NODE) gets the first child. SO you may want to do a loop and perform GetNetSibling Until NODE = 0;-Eric GetChild(NODE) GetNextSibling(NODE) GetPrevSibling(NODE) Here is some code I use to test for a parent node. -

RE: [perl-win32-gui-users] TreeView Node structure

2006-01-10 Thread Glenn W Munroe
Igor, I think you need a combination of the GetChild() and GetNextSibling() methods. I'm not sure that MS would (or even should) publish internal structures like that, but a good place to start is: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla tform/commctls/t

[perl-win32-gui-users] RE: Accelerators

2006-01-10 Thread Glenn W Munroe
Rob, Thanks for your reply. There's certainly plenty of food for thought there. The problem I was having with the KeyUp/KeyDown events was, as you indicated, caused by the -dialogui option. Neither the 'KeyDown' nor the 'Char' event gets fired when -dialogui is used, nor do they when an accelerat

Re: [perl-win32-gui-users] File requester in Win32?

2006-01-10 Thread Steve Loughran
doh! thank you! :) Steve Jeremy White wrote: Hi all Is there any easy way to include a file name requester (like when you "Save as..." in a program) to allow you to return a filename for loading/saving? I think I have seen it in my trawling through websites, but I cannot remember where...

RE: [perl-win32-gui-users] File requester in Win32?

2006-01-10 Thread Jeremy White
Hi all Is there any easy way to include a file name requester (like when you "Save as..." in a program) to allow you to return a filename for loading/saving? I think I have seen it in my trawling through websites, but I cannot remember where http://perl-win32-gui.sourceforge.net/cgi-bin/

[perl-win32-gui-users] File requester in Win32?

2006-01-10 Thread Steve Loughran
Hi all Is there any easy way to include a file name requester (like when you "Save as..." in a program) to allow you to return a filename for loading/saving? I think I have seen it in my trawling through websites, but I cannot remember where Many thanks in advance. Steve