This statement minimizes the DataWindow:

Send(Handle(dw_whatever), 274, 61472, 0)

 

This statement maximizes the DataWindow:

Send(Handle(dw_whatever), 274, 61488, 0)

 

This statement returns the DataWindow to its normal, defined size:

Send(Handle(dw_whatever), 274, 61728, 0)