CBasePane::SetPaneStyle

Sets the style of the pane.

virtual void SetPaneStyle(
   DWORD dwNewStyle
);

Parameters

  • [in] dwNewStyle
    Specifies the new style to set.

Remarks

This method can be used to set any of the CBRS_ styles that are defined in afxres.h. Because pane style and pane alignment are stored together, set the new style by combining it with the current alignment as follows.

pPane->SetPaneStyle (pPane->GetCurrentAlignment() | CBRS_TOOLTIPS);

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart

CBasePane::GetPaneStyle