Hello guys. I am developing an app where I have a layout object with a CHILD which is a bitmap object. What I want to do is to read the current width and height of the layout object so that I can set the equivalent size of the bitmap.
I tried to use the IIntuition->GetAttrs but didn't work that good
The above code returns something like
layout data! -2063585277
Do you have any clue on how to do that?
ULONG layoutres; int layoutwidth; layoutres = IIntuition->GetAttrs( objects[OID_LAYOUT_Pic], CHILD_MinWidth, &layoutwidth, TAG_DONE ); IDOS->Printf( "layout data! %ld", layoutwidth );