Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
141 user(s) are online (80 user(s) are browsing Forums)

Members: 0
Guests: 141

more...

Headlines

 
  Register To Post  

window size gadget does not do anything! (SOLVED)
Home away from home
Home away from home


See User information
I've specified that my window has a resize gadget using WFLG_SIZEGADGET, and that does work. But I am unable to actually resize the window using the gadget, and (unsurprisingly) no IDCMP_CHANGEWINDOW or IDCMP_NEWSIZE event is received.

This time I have pored over the AutoDocs, but have not found any hint as to why. As far as I am aware, I have not specified min/max window sizes, nor have I used IDCMP_SIZEVERIFY.

The odd thing is that ChangeWindowBox() works *unless* I specify WFLG_SIZEGADGET . When I do specify WFLG_SIZEGADGET, ChangeWindowBox() does cause an IDCMP_CHANGEWINDOW event, but the window size itself is unchanged! How is that for wierd?


Edited by ChrisH on 2011/5/24 9:32:11
Author of the PortablE programming language.
Go to top
Re: window size gadget does not do anything!
Just can't stay away
Just can't stay away


See User information
You need to specify WA_MinWidth, WA_MaxWidth etc etc. At least that's how it works here.

Go to top
Re: window size gadget does not do anything!
Home away from home
Home away from home


See User information
@alfkil
It works now, thanks!

Author of the PortablE programming language.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project