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.
@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
Try using WA_InnerWidth and WA_InnerHeight, that's what they are for.
Simon