VXPLib Documentation: COM

IVXPQuickHTML::OnControlGetSize

For each tag <CONTROL> the parser fires this event to get dimension of the control dynamically.
HRESULT OnControlGetSize(long ID, BSTR Name, short * W, short * H, BSTR Param);
Parameters
ID [in] - Attribute ID of the tag
Name [in] - Attrubute NAME of the tag
W [in, out] - Attribute WIDTH of the tag
H [in, out] - Attribute HEIGHT of the tag
Param [in] - Attrubute PARAM of the tag
Remarks
When attributes WIDTH or HEIGHT are skipped in the QHTML tag the client application must handle this event to set W and H equal to dimension of the windows control this tag represents.
See Also
IVXPQuickHTML Overview | GetControlPos | GetControlAttr | GetControlsInfo | <CONTROL>
This document was last updated on 15/05/2003
Copyright © 2003 Tooltips.NET