comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Resizing and mouse event ???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Resizing and mouse event ??? [message #39687 is a reply to message #39674] Mon, 07 June 2004 10:56 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Antonio Santiago writes:

> Hi, my problem is:
>
> I want to resize a window aplication but i want to update the
> widget_draw inside this when the user release the mouse.
> The base widget has the option TLB_SIZE_EVENTS that emits the event
> WIDGET_BASE with the new dimensions, but it doesnt informate about mouse
> button.
>
> How can i know the status of the mouse buttons in a resize event of
> widget_base?

I'm not sure the mouse buttons are relevant in this case.
The window manager is responsible for when the resize
base event is generated, and it is always generated when
you release the cursor. No information about the position
or state of the cursor is included in the event structure.
Since it appears that base widgets in Windows can only
be sized with the left mouse button, I presume you would
be save in assuming the LEFT button is UP if you had to
assume something. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Object Graphics fonts
Next Topic: Surface Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 17:06:58 PDT 2025

Total time taken to generate the page: 1.03668 seconds