Partager via


COleControlSite::SetWindowText

Setsthe 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

Concepts

COleControlSite Class

COleControlSite Members

Hierarchy Chart