Once you have created a c2pWindow object with Mc2pWindow you can return the height of the operation to be performed by using the Mc2pWindowHeight function. The height returned will be in pixels, which is the same thing as the number of lines or rows in the operation.
Possible syntax:
Mc2pWindowHeight ( c2pWindowNum.w )
Returns: Height.w
c2pWindowNum.w ---- This is the number of a c2pWindow object that you have
already created. The number should range from 0 up to the total number of objects
minus 1. The height of this c2pWindow object will be returned by the function.
Height.w ---- Mc2pWindowHeight returns a word-sized value
representing the height of the specified c2pWindow object. The height will be in
pixels but also the number of lines or rows.