mk-soft, your solution does not work, i get an IMA
wilbert, the function is an object method defined as:
Code: Select all
public HRESULT put_Bounds(RECT bounds)
Code: Select all
put_Bounds(left_top.q, right_bottom.q)
and
obj\put_Bounds(RectByVal(rc))