OLESIZE type
A width and a height, with the layout of the Windows SIZE structure.
OLESIZE is a user-defined type declared in the package’s OLEGuids module, so both OLESIZE and OLEGuids.OLESIZE name it. It mirrors the Windows structure SIZE.
Public Type OLESIZE
CX As Long
CY As Long
End Type
Fields
- CX
- A Long holding the width.
- CY
- A Long holding the height.
Where it is used
No method of the package takes an OLESIZE. IOleInPlaceSite.Scroll takes a SIZE by value, and declares the parameter as a Currency, which is the same eight bytes.