Re: [perl-win32-gui-users] What Objects catch RightClick event

2004-07-08 Thread Jez White
Hi, I was just about to say you could try and hook the event - but I just had a look at MS documentation an there doesn't seem to be a right click event for a label. Surely that can't be correct?

RE: [perl-win32-gui-users] What Objects catch RightClick event

2004-07-08 Thread Frazier, Joe Jr
Well, I tried to catch the right click on the window level also, but that seemed to fail also. I do not know enough about the hook method to even begin. Here is what I am really trying to do: I have a window where one of the controls needs to have a hyperlink (using Win32::GUI::Hyperlink).

Re: [perl-win32-gui-users] What Objects catch RightClick event

2004-07-08 Thread Jez White
Hi, I made a mistake... ...There are a whole set of generic mouse events that Laurent enabled not that long ago (I forgot about them!) - they apply to most controls - including textfields and labels. The following code creates a label and a textfield with left and right click mouse events. I'm

[perl-win32-gui-users] Styles and directing keystrokes

2004-07-08 Thread Brad Smith
Can someone please explain -style to me? In the gui documentation, I see it referred to in terms of AxWindow but not Window. Can it be used for both? How about a DialogBox? Also, where can I find info on the other styles, like -addstyle, - pushstyle, -remstyle, -popstyle, -exstyle,

RE: [perl-win32-gui-users] What Objects catch RightClick event

2004-07-08 Thread Frazier, Joe Jr
Thanks, that helps a lot! However, it appears that attaching a class to the text field cancels capture of the MouseUp/MouseDown events. Not sure if this is a bug or not. Anyway, I found a way to do what I needed which achieves all my goals. Joe Frazier, Jr. -Original Message- From: