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 #39674 is a reply to message #39671] Mon, 07 June 2004 23:53 Go to previous messageGo to previous message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
Mmm... well, i want to allow resize the widget_draw's of my application
when the root window is resized but only after i release the mouse button.
I set the TLB_SIZE_EVENTS in the widget_base application, but the
problem is resize event is sending me in every modification of root size
even when i havent release the button.
- When user is modifying the root size, i dont want to do anything.
- When the user release the button, i wnat to read the last resize event
and modify the widget_draw's sizes.




David Fanning wrote:
> 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
>
>
[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: Fri Oct 10 11:19:50 PDT 2025

Total time taken to generate the page: 1.61250 seconds