Partager via


COleControlSite::SetWindowText

Sets the text for the control site.

virtual void SetWindowText(
   LPCTSTR lpszString 
);

Parameters

  • lpszString
    Pointer to a null-terminated string to be used as the new title or control text.

Remarks

This function first attempts to set the Caption stock property. If the Caption stock property is not supported, the Text property is set instead.

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart

Other Resources

COleControlSite Members