@TSK
Quote:
How did you get that IA_Left and IA_Top stuff working with BitMap class object ? RethinkLayout() has no effect. DoMethod(WinObj,WM_RETHINK) does strange effects when used after NEWSIZE message. What is RETHINKGUIWINDOW command you're using ?
I set "LAYOUT_NoLayout,1," in the parent layout of the image.
That means I have to layout the image manually, so I can set the aspect ratio etc the way I like.
Check the function ReLayoutImage() for how I did that.
RETHINKGUIWINDOW is a Wrapper for
IIntuition->IDoMethod(gui->gui_WinObj,WM_RETHINK,NULL);