It's a timing issue. I need to know whether the user has clicked the mouse button as a single click, double click, or holding it down for dragging. I have looked for something that will return the state of the mouse buttons but all I could find was Win32::Console and that just doesn't seem to be what I was looking for. I'm still working on the details of implementing it and would be glad to hear other suggestions.
On 7/6/05, Sisyphus <[EMAIL PROTECTED]> wrote: > > ----- Original Message ----- > From: "Chris Rogers" <[EMAIL PROTECTED]> > To: "Glenn Linderman" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>; <[email protected]> > Sent: Thursday, July 07, 2005 6:34 AM > Subject: Re: Win32::GUI::Label, Bitmaps, and Resizing > > > > Thanks again. After a little more research, I came up with the > > following which I am still working on. I'll be using the GetTickCount > > so that I can tell if the user clicked, double-clicked or began to > > drag the mouse. > > Afaik, Win32::GetTickCount() returns the number of milliseconds elapsed > since the last system boot ..... nothing more, nothing less. I don't see how > it can help you. > > Cheers, > Rob > > _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
