Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi, i am trying to make a fractalgenerator with the Win32::GUI module. I am trying to catch the mouse's x and y coordinates with the statement:
(x,y) = Win32::GUI::GetCursorPos();
This works fine but my problem is that i don't know how to trigger this code. I tried to use this subroutine:
and i tried simply:sub MouseUp{ Win32::GUI::GetCursorPos();}
MouseUp{(x,y) = Win32::GUI::GetCursorPos();} etc.
Can someone please help me out here? I cant find good documentation about this item, and im temporarily without internet access. I am on a library computer. thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Win32::GUI problem
by Corion (Patriarch) on Sep 22, 2015 at 11:10 UTC | |
by Anonymous Monk on Sep 22, 2015 at 11:21 UTC | |
by Anonymous Monk on Sep 22, 2015 at 12:02 UTC | |
by Lotus1 (Vicar) on Sep 22, 2015 at 18:46 UTC | |
Re: Win32::GUI problem
by james28909 (Deacon) on Sep 22, 2015 at 20:39 UTC | |
by Lotus1 (Vicar) on Sep 23, 2015 at 02:23 UTC | |
Re: Win32::GUI problem
by dasgar (Priest) on Sep 22, 2015 at 14:29 UTC | |
Re: Win32::GUI problem
by Albannach (Monsignor) on Sep 24, 2015 at 03:33 UTC | |
by Anonymous Monk on Sep 24, 2015 at 09:45 UTC | |
by Anonymous Monk on Sep 25, 2015 at 09:44 UTC | |
by Albannach (Monsignor) on Sep 25, 2015 at 11:44 UTC | |
by Anonymous Monk on Sep 26, 2015 at 09:48 UTC | |
Re: Win32::GUI problem
by Anonymous Monk on Sep 22, 2015 at 12:57 UTC | |
by Corion (Patriarch) on Sep 22, 2015 at 12:59 UTC | |
by Anonymous Monk on Sep 22, 2015 at 13:01 UTC | |
by Corion (Patriarch) on Sep 22, 2015 at 13:04 UTC | |
by Anonymous Monk on Sep 23, 2015 at 16:07 UTC | |
Re: Win32::GUI problem
by Anonymous Monk on Sep 23, 2015 at 09:35 UTC |