Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/28/2014
This method sets the ConstrainToParentBounds property.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetConstrainToParentBounds(
BOOL Value)
Parameters
- Value
[in] When set to true, constrains the child to the parent’s bounds. Does not constrain the child when set to false.
Return Value
Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.