Size of win resize gadget?

3 posts / 0 new
Last post
ChrisH's picture
Last seen: 2 years 1 month ago
Joined: 2010-12-07 20:22
Size of win resize gadget?
Does anyone know how to find the size of the window's WFLG_SIZEGADGET resize gadget *BEFORE* opening the window? What I want to do is create a resizable window with a specific "inner" size (excluding the border). Resizing the window after creation is NOT desirable, because it may take up to 1/10 of a second (6 frames!) to take effect.
xenic's picture
Last seen: 5 months 2 days ago
Joined: 2011-05-07 04:52
@ChrisH Maybe the Intuition
@ChrisH Maybe the Intuition function GetGUIAttrs() using the GUIA_SizeGadgetWidth and GUIA_SizeGadgetHeight tags would work. I've never tried it and don't know if the GUI attributes apply to all types of screens but it might be worth a try.
X1000 - OS 4.1FE
Rigo's picture
Last seen: 3 months 3 weeks ago
Joined: 2011-01-24 21:55
Try using WA_InnerWidth and
Try using WA_InnerWidth and WA_InnerHeight, that's what they are for. Simon
Log in or register to post comments