[perl-win32-gui-users] mouse_event

2005-08-16 Thread Steven Lloyd
In the following code, mouseMove is sent the label, and the x,y coridinates of the cursor. But if you hold the cursor down and, while holding the cursor down, move it to the corners of your screen, you will get invalid $x, $y values.. This looks to me as is Win32::GUI is sending the wrong mo

Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Steven Lloyd
MouseMove returns the label, and the x, y coordinates of the mouse, right? - Original Message - From: "Jeremy White" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: Sent: Tuesday, August 16, 2005 7:05 AM Subject: Re: [perl-win32-gui-users] Re: Draggable 'window' [

[perl-win32-gui-users] popup menu for NotifyIcon

2005-08-16 Thread Sergey Cherniyenko
Hello, perl-win32-gui-users, Now i'm trying to implement popup menu that appears on mouse right button click on tray icon. When I run the script below then 1. On each right click on tray icon I get following warnings Use of uninitialized value in subroutine entry at D:\perl_projects\exrc1.p

Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Steven Lloyd
Thanks Jez, I will work on the coordinates.. We are close now.. :) - Original Message - From: "Jeremy White" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: Sent: Tuesday, August 16, 2005 7:05 AM Subject: Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFr

Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Jeremy White
Thanks Jez. Your suggestions seems to work except for the last thing. As I move the cursor over windows, how do I repaint windows that no longer have the cursor over them? Is there a way to get all the windows to repaint? Disposing of the DC did not seem to do this? Releasing the DC wouldn't

Re: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Steven Lloyd
Thanks Jez. Your suggestions seems to work except for the last thing. As I move the cursor over windows, how do I repaint windows that no longer have the cursor over them? Is there a way to get all the windows to repaint? Disposing of the DC did not seem to do this? Steve http://www.basgetti

RE: [perl-win32-gui-users] Re: Draggable 'window' [Was: MDIFrame and background Image]

2005-08-16 Thread Jeremy White
Well, I have got close but I am not sure how to make the Drawn rectangle transparent or how to dispose of the DC after I am through.. Any help would be greatly appreciated. You'll be glad to know, that the solution is straightforward:) It's probably worth explaining a few things for the benif